pome icon indicating copy to clipboard operation
pome copied to clipboard

Add option to read settings from a config file

Open rach opened this issue 9 years ago • 3 comments

rach avatar Jan 13 '16 08:01 rach

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

rach avatar Jan 13 '16 08:01 rach

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

rlayte avatar Jan 13 '16 09:01 rlayte

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.

rach avatar Jan 15 '16 08:01 rach