rach/pome

Add option to read settings from a config file

rach opened this issue · 3 comments

rach commented
Add option to read settings from a config file
rach commented

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

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 commented

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.