Dan Buch
a61867e5e6
Merge remote-tracking branch 'origin/v1' into merging-from-v1
7 years ago
Jesse Szwedko
a00c3f5872
Consider empty environment variables as set
...
When assigning values to flags (also when interogatting via
`context.(Global)IsSet`.
For boolean flags, consider empty as `false`.
Using `syscall.Getenv` rather than `os.LookupEnv` in order to support
older Golang versions.
8 years ago
Jake Champlin
b93207160f
Update altsrc imports to gopkg.in
...
Updates altsrc imports to use `gopkg.in/urfave/cli.v2`
Fixes : #505
8 years ago
Jake Champlin
c75c862386
Fix import paths in altsrc
...
Uses gopkg.in as the import path for the `altsrc` package.
Fixes : #473
8 years ago
Dan Buch
f7b2b93ffa
Merge remote-tracking branch 'origin/v1' into merging-from-v1
8 years ago
Dan Buch
c3b03b8437
Adding flag type generation for altsrc
...
and a mention of this whole thing in the change log
8 years ago
Dan Buch
9b16216c07
Merge remote-tracking branch 'origin/v2' into minimize-struct-copying
8 years ago
Dan Buch
6d6f7da978
Merging from master/v1
8 years ago
Jesse Szwedko
024b4c6240
Update references to codegangsta to urfave (new org name)
...
Also add notice to README
8 years ago
Dan Buch
cd10b49473
Minimize struct copying
...
by using pointer func receivers and slices of struct pointers where possible.
8 years ago
Dan Buch
81fcf706ea
Replace all "stringly typed" fields with slice equivalents
...
and alter the Flag interface accordingly
Closes #415
8 years ago
Dan Buch
f2d5ed9933
Replace BoolTFlag type with BoolFlag.Value
...
Closes #412
8 years ago
Dan Buch
1fb52b3bce
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
9 years ago
Dan Buch
b7329f4968
Switch from multi-return with exit codes to ExitCoder check
9 years ago
Dan Buch
a17c8cf1d8
Rename func type suffixes `Fn`->`Func` and add `OnUsageErrorFunc`
9 years ago
Dan Buch
10c8309d84
Merge branch 'develop' of https://github.com/txgruppi/cli into txgruppi-develop
9 years ago
Dan Buch
867aa0912d
Overwrite slice flag defaults when set
...
Closes #160
9 years ago
chrisprobinson
d3b02e41b0
Update to add build contraints to not compile in yaml support
...
in the case the golang version is less than golang 1.2
9 years ago