-
Notifications
You must be signed in to change notification settings - Fork 221
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
Environment Variable List of Structs #603
Comments
Could you find prior art for array env variables like this? It can help for identifying any lessons learned that are worth applying. I know Cargo has played with supporting more structured env variables (rust-lang/cargo#7406) but there are complexities there and no one has really been pushing that forward. |
This project seems to use a similar approach as I've taken here. I can't really imagine another way of doing it at the moment. |
git puts the index in a weird spot but they also require a From https://git-scm.com/docs/git-config#ENVIRONMENT
|
I'm not sure I grasp why _COUNT should be here, as it can always be inferred. |
I'm a bit uncomfortable ignoring git's precedence without knowing more of why they chose what they did and if it applies. I would also prefer more input and/or prior art as we would be deciding a policy for applications that would be hard to change in the future. While we can easily just bump our major version, CLIs that use this might not have such an easy time. |
Tracking issue for #597
Support parsing environment variables into a list of structs.
Example
The text was updated successfully, but these errors were encountered: