-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Configuration from file #458
Comments
This would be a huge UX improvement rather than pasting 100 lines of json into a command. Is there a reason the config file would be |
there is a good amount of discussion about |
We should still support CLI args as well, since they are easier to templatize and configure in helm charts. Toml based config files would align with other parts of our eco-system such as |
We now have the option of including an env file to specify many of the values you would pass to the cli. However, not all arguments can be read/overridden with the env variables. If we added support for all the arguments, that would resolve this issue. |
Hi @MitchTurner, I'd love to start contributing to Fuel. Can I take this issue? Thanks! |
@thedevbirb Hey! Welcome! We are always open to contributions from the community. Feel free to work on this and let us know if you have questions. |
In most cases you would like to specify some cli argument in the config file so that you don't have to use it every time when running
fuel-core
and can just specify the config file you want to runfuel-core run --config=local.toml
I don't think it is supported in
clap
and we need to use additional structure and lib to parse configuration from toml intofuel-core
The text was updated successfully, but these errors were encountered: