davetron5000 / gli

Make awesome command-line applications the easy way
http://davetron5000.github.io/gli
Apache License 2.0
1.26k stars 102 forks source link

Add initconfig support for command defaults, allow strings as config keys #257

Closed hyperbolist closed 1 month ago

hyperbolist commented 7 years ago

Fixes #63

The initconfig command will now write out all of the switches and flags for any commands and any subcommands. It writes config keys as strings, though symbols will still work.

davetron5000 commented 7 years ago

Thanks for doing this! Other than the issues with monkeypatching, the overall change looks great!

hyperbolist commented 7 years ago

Got rid of the monkeypatching, which I admit was reckless.

davetron5000 commented 7 years ago

Thanks and sorry for the delay in looking at this. Just one tiny nitpick, but otherwise this looks good. Thanks!

davetron5000 commented 1 month ago

Closing due to being very old. Sorry - looks like I dropped the ball