Commit Graph

9 Commits

Author SHA1 Message Date
Michael Schuett
ff1c0b58dd Start of category flag support
This adds what I think needs to be done to support categories for flags
but we will see if that works. It also forces the scripts to use python2
since they blow up under python3 which is becoming the default python on
many linux systems.

Small fix to app_test as well so it conforms to the new Flag interface.
2019-01-27 01:41:06 -05:00
Brad Rydzewski
21fcab0dee ability to load variable from file 2017-10-31 10:29:11 -05:00
Jesse Szwedko
d71794de19 Make ApplyWithError a public method on errorableFlag
Add to altsrc flags. Otherwise, flagSet() was bypassing altsrc's attempt
at shadowing.
2016-11-19 10:51:20 -08:00
Jesse Szwedko
df95e0708f Manually set import in altsrc flag generation
Otherwise `goimports` switches it to `github.com/urfave/cli`
2016-09-03 14:22:45 -07:00
Dan Buch
8d976fe182
Get package choices from source of truth 2016-07-11 06:02:49 -04:00
Dan Buch
c3b03b8437
Adding flag type generation for altsrc
and a mention of this whole thing in the change log
2016-07-11 06:02:49 -04:00
Dan Buch
77f1130e65
Generate flag type lookup funcs 2016-07-10 12:50:57 -04:00
Dan Buch
3a8ad862a6
Add help text/docs for generate-flag-types script 2016-07-10 12:26:09 -04:00
Dan Buch
6185b8d8fd
Generate code for flag types and context accessors 2016-06-23 00:56:44 -04:00