-
Notifications
You must be signed in to change notification settings - Fork 35
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
Support arguments to yaml templates #153
Comments
I saw that we now have support for YAML templates (so awesome!), but did argument support come with that? |
Not yet! We have a bit of work to do before we can do argument support:
It will probably take a couple of weeks but is definitely on our roadmap (especially pre 1.0) |
Recommending Config is environment driven. Should we use environment for template arguments? |
Hmm, falling back to environment variables does seem nice, although they tend to be uppercase. What if we supported |
We often have common queries (either for testing, or administration) that have some parameters.
It would be nice if we could use a YAML template and parameterize parts of it (e.g., the service name, or some part of the request body).
E.g., if
--health
didn't exist, we might have a yaml template like:And we could do
./health.yaml --arg service:foo --arg user:foo
The text was updated successfully, but these errors were encountered: