-
Notifications
You must be signed in to change notification settings - Fork 173
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
Zarf config file support using Viper #781
Conversation
So ran into a really interesting thing that I don't think we thought about before... when we bind multiple flags to a single variable, each binding overwrites the default state with the very last binding to it. Ran into this because |
Fortunately, the only place we use this that it would actually cause problems is for |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This PR adds support for using [Viper](https://github.com/spf13/viper) to support declarative automation for the Zarf CLI. As more flags are added to Zarf, it can become more imperative at runtime, Viper allows Zarf to remain fully declarative operations supported by automation. Co-authored-by: Wayne Starr <[email protected]>
This PR adds support for using Viper to support declarative automation for the Zarf CLI. As more flags are added to Zarf, it can become more imperative at runtime, Viper allows Zarf to remain fully declarative operations supported by automation.