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

auto usage message #5

Open
greenkey opened this issue Nov 24, 2017 · 4 comments
Open

auto usage message #5

greenkey opened this issue Nov 24, 2017 · 4 comments

Comments

@greenkey
Copy link

Hi, I'm very new to GO and I think this is the most complete library for the configuration in go.

I would suggest to make a smarter default usage message, maybe taken from the variables needed and with a message like "you can set variables using environment or a json config file (config.json)". The message could be based on the settings provided in the code.

What do you think about?

@LouAdrien
Copy link

+1

@paked
Copy link
Owner

paked commented Mar 6, 2018

@LouAdrien: would you be interested in working on this?

@paked
Copy link
Owner

paked commented Mar 6, 2018

I'd of course be happy to support and review code as needed.

@LouAdrien
Copy link

I'd be happy to contribute, but considering the current solution that was chosen, it would be hard to do it without implying a breaking change. I.e currently once the conf.String/Int/Bool is used, the information in the scope of the config object is lost (we could make some global messages, but could not ensure which options was assigned to which object)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants