You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there are two things we should do to make environment variables more pleasant to work with.
We should add a --help flag to all service executables which prints out the required environment variables, and optionally some other information about the service.
When you forget a required env var, all required env vars should be printed out, not just the one you forgot. This will reduce time to get up and running and eliminate the cycle of add the env var, run the service, add another env var, run it again, etc. It might make sense to just print the help text in this case.
The text was updated successfully, but these errors were encountered:
The mapping provided to envvar.extract could be defined in a JSON file, and could contain additional properties. This JSON file could then be used to generate --help text. Actually generating this text is likely out of scope for this project, as the formatting would depend on the tool being used to generate the rest of the string.
See https://github.com/plaid/style/pull/37 for a background.
I believe there are two things we should do to make environment variables more pleasant to work with.
--help
flag to all service executables which prints out the required environment variables, and optionally some other information about the service.The text was updated successfully, but these errors were encountered: