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

chore: refactor config file setup #46

Open
iwilltry42 opened this issue Jul 24, 2024 · 0 comments
Open

chore: refactor config file setup #46

iwilltry42 opened this issue Jul 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@iwilltry42
Copy link
Collaborator

The global config file and the flow config files work completely different from one another.
I think we can refactor both to use Viper under the hood.
Combining Viper with acorn-io/cmd (based on Cobra), we should come to way easier terms especially with the global config file that is a mixture of flag-configurable options and non-flag-configurable options.
Also this should allow us to make all flags configurable via config file as well - this may need an extension of acorn-io/cmd

@iwilltry42 iwilltry42 added the enhancement New feature or request label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant