Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set variables in a metadata header #29

Open
oysandvik94 opened this issue Jul 16, 2024 · 0 comments
Open

Set variables in a metadata header #29

oysandvik94 opened this issue Jul 16, 2024 · 0 comments

Comments

@oysandvik94
Copy link
Owner

Might be a useful idea to have a metadata header at the top of a file, seperated by "---", similar to markdown files, where someone can define variables such as hostname, token, etc.

These variables would then be set as environment variables in the context of the curl requests ran from that buffers, and can then also be referred to in curl commands as a regular environment variable.

Not sure how this solves hiding secrets though, as in #12 , but it seems useful nonetheless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant