Sascha Grunert
4627bbe109
Add go module support
...
This adds a go.{mod,sum} file to official support go modules.
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2019-08-03 13:56:41 +02:00
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.
2016-11-13 14:59:27 -08:00
Jake Champlin
c75c862386
Fix import paths in altsrc
...
Uses gopkg.in as the import path for the `altsrc` package.
Fixes : #473
2016-08-27 19:09:14 -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
Jesse Szwedko
024b4c6240
Update references to codegangsta to urfave (new org name)
...
Also add notice to README
2016-05-22 14:42:23 -07:00
Dan Buch
b7329f4968
Switch from multi-return with exit codes to ExitCoder check
2016-04-27 09:12:34 -04:00
Dan Buch
a17c8cf1d8
Rename func type suffixes Fn
->Func
and add OnUsageErrorFunc
2016-04-25 18:29:05 -04:00
Dan Buch
10c8309d84
Merge branch 'develop' of https://github.com/txgruppi/cli into txgruppi-develop
2016-04-25 18:10:10 -04:00
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
2016-02-21 20:06:02 -08:00