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

Have the option to use toml instead of json #9

Open
Ilyes512 opened this issue Jul 27, 2018 · 2 comments
Open

Have the option to use toml instead of json #9

Ilyes512 opened this issue Jul 27, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@Ilyes512
Copy link
Owner

No description provided.

@Ilyes512 Ilyes512 added the enhancement New feature or request label Jul 27, 2018
@kenjones-cisco
Copy link

I'm not sure if you have taken a look at https://github.com/spf13/viper

  • setting defaults
  • reading from JSON, TOML, YAML, HCL, and Java properties config files
  • live watching and re-reading of config files (optional)
  • reading from environment variables
  • reading from remote config systems (etcd or Consul), and watching changes
  • reading from command line flags
  • reading from buffer
  • setting explicit values

As added bonus, Viper has the ability to bind to flags. Specifically, Viper supports Pflags as used in the Cobra library.

@Ilyes512
Copy link
Owner Author

Ilyes512 commented Dec 4, 2018

Yes, I know of it :) FYI I will not implement it in boilr, but if I choose to use cobra I will probably use Viper as well in my rewrite here: stancr

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

2 participants