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

Add option to read settings from a config file #41

Open
rach opened this issue Jan 13, 2016 · 3 comments
Open

Add option to read settings from a config file #41

rach opened this issue Jan 13, 2016 · 3 comments
Milestone

Comments

@rach
Copy link
Owner

rach commented Jan 13, 2016

No description provided.

@rach rach modified the milestone: 0.2.0 Jan 13, 2016
@rach
Copy link
Owner Author

rach commented Jan 13, 2016

I do have a preference for toml but it's maybe not a well knows format

@rlayte
Copy link
Contributor

rlayte commented Jan 13, 2016

kingpin accepts values from a file, but in a non standard format. Might be the easiest option for now though.

https://godoc.org/github.com/alecthomas/kingpin#ExpandArgsFromFile

@rach
Copy link
Owner Author

rach commented Jan 15, 2016

Agree. Better to have temporary easy solution for now as the flags are going to grow and then deciding on the best suited format. Thanks for find this.

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

2 participants