Commit Graph

10 Commits

Author SHA1 Message Date
Lynn Cyrin
62e99ad1c1
add IsRequired to generator 2019-07-11 20:46:22 -07:00
Lynn Cyrin
310bfeb194
add required attr to generator 2019-07-11 20:44:41 -07: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