OneOfOne
10c9734c5e
notes
7 years ago
OneOfOne
b7ab5b0c48
don't add -- prefix if we manually specify one
7 years ago
OneOfOne
163f247519
lint + DefaultCommand
7 years ago
Dan Buch
50a0fdeea6
Merge pull request #655 from urfave/merging-from-v1
...
Merging from v1
7 years ago
Dan Buch
2da290b872
Ensure indentation is consistent in example code
...
plus remove usage of ancient builtin `println` 🙀
7 years ago
Dan Buch
3164173947
Switch some remaining encoding-related bits in test runner
7 years ago
Dan Buch
463d4bada6
Explicitly set mode to 'w' when combining coverprofiles
7 years ago
Dan Buch
d83210ca77
Attempt to better handle python(2|3) tempfile differences
7 years ago
Dan Buch
1505b9f046
Back out temporary flag alias whoopsie! 😅
7 years ago
Dan Buch
744fdb45b5
Resolve conflict in completion flag check better
7 years ago
Dan Buch
65b801c818
Resolve remaining test errors for v1 => v2 merge
7 years ago
Dan Buch
ce3a0da1a3
Ensure migrator does not mangle `cli.CommandsByName`
7 years ago
Dan Buch
a372849da6
Use []*Command instead of []Command in CommandsByName
7 years ago
Dan Buch
df5c6caa96
Back out the testify/assert addition 😅
7 years ago
Dan Buch
47a412375f
Resolved compile-time errors since merging from v1
7 years ago
Dan Buch
a61867e5e6
Merge remote-tracking branch 'origin/v1' into merging-from-v1
7 years ago
Jesse Szwedko
c717f7a215
Merge pull request #653 from urfave/master
...
Merging master into v1
7 years ago
Jesse Szwedko
b99aa811b4
Merge pull request #654 from urfave/appveyor-updates
...
Update os, image, golang, and python versions used in appveyor
7 years ago
Dan Buch
f59114b410
Update os, image, golang, and python versions used in appveyor
7 years ago
Dan Buch
2903b76a12
Merge branch 'v1' into master
7 years ago
Dan Buch
9128fe1c38
Merge pull request #652 from urfave/travis-tweaks
...
Update travis config
7 years ago
Dan Buch
184ffb5e57
Use `os` matrix instead of explicit matrix.include
7 years ago
Dan Buch
8164aa88ca
Update travis config
...
to only test on 1.8.x, and ensure we route to Ubuntu Trusty and a
recent macOS image.
7 years ago
Jesse Szwedko
4b90d79a68
Merge pull request #643 from nikkolasg/patch-1
...
[example] Make the basic example build-able.
7 years ago
Nicolas Gailly
a6dd54e94b
make the basic example build-able.
7 years ago
Jesse Szwedko
b892ba3809
Merge pull request #583 from karalabe/invalidate-isset-cache
...
Invalidate context.setFlags cache on modification.
7 years ago
Jesse Szwedko
3ac1e107fe
Merge pull request #593 from urfave/command-subcommand-usage-text
...
Display UsageText on Commands and Subcommands
7 years ago
Jesse Szwedko
3ddfc81916
Merge pull request #626 from urfave/do-not-double-print-before-errors
...
Do not double print errors from Before()
7 years ago
Jesse Szwedko
4fb301aa38
Merge branch 'master' into invalidate-isset-cache
7 years ago
Jesse Szwedko
48db8e2435
Display UsageText on Commands and Subcommands
...
If it is set, otherwise build the usage.
Fixes #592
7 years ago
Jesse Szwedko
c64d74a5d9
Do not double print errors from Before()
...
They should be handled by HandleExitCoder() as `After()` errors are.
7 years ago
Jesse Szwedko
f229e3c59c
Merge pull request #629 from josephlr/use-usage-error-for-app
...
Subcommand OnUsageError should be passed to app
7 years ago
Joe Richey joerichey@google.com
291122b8f0
Subcommand OnUsageError should be passed to app
...
Not all of the Command components were being passed to the created App
in the startApp function.
7 years ago
Jesse Szwedko
cf33a9befe
Merge pull request #586 from minio/extra-info
...
Add support for custom help templates.
7 years ago
Jesse Szwedko
74811faef3
Merge branch 'master' into extra-info
7 years ago
Jesse Szwedko
db0ff44081
Merge pull request #630 from josephlr/support-custom-flags
...
Add ability to use custom Flag types
7 years ago
Harshavardhana
dd3849a7e6
Add tests as requested.
7 years ago
Harshavardhana
baa33cb888
Add support for ExtraInfo.
7 years ago
Harshavardhana
f7d6a07f2d
Add support for custom help templates.
7 years ago
Joe Richey joerichey@google.com
1794792adf
Add ability to use custom Flag types
...
Users can now use custom flags types (conforming to the Flag interface)
in their applications. They can also use custom flags for the three
global flags (Help, Version, bash completion).
7 years ago
Jesse Szwedko
d70f47eeca
Merge pull request #627 from urfave/use-command-context-in-usage-error
...
Rely on Command context in Run()
7 years ago
Jesse Szwedko
87fe13079e
Rely on Command context in Run()
...
Was previously relying on the parent context which caused things like
`.Command` to not be available to OnUsageError().
Fixes #609
8 years ago
Jesse Szwedko
61c3eb6ba1
Merge pull request #597 from urfave/fix-isset-for-env
...
Fix context.IsSet()
8 years ago
Jesse Szwedko
ab403a54a1
Merge pull request #616 from tbaud0n/master
...
Fix autocomplete issue when multiple apps run autocomplete from etc/bash_completion.d directory
8 years ago
Jesse Szwedko
d3793766a3
Merge branch 'master' into master
8 years ago
Jesse Szwedko
f6e8084112
Merge remote-tracking branch 'origin/master' into v1
8 years ago
Jesse Szwedko
924042785a
Merge pull request #624 from urfave/fetch-needed-commands
...
Explicitly fetch `goimports`
8 years ago
Jesse Szwedko
1bf0bb96b7
Only support supported Go versions
...
As described on https://github.com/golang/go/wiki/Go-Release-Cycle
The maintainers do not test compatibility for libraries (e.g. in
golang.org/x/tools) on older versions.
8 years ago
Jesse Szwedko
572dc46db5
Explicitly fetch `goimports`
...
Fetching the whole tree was failing on some Go versions and we really
only need goimports.
8 years ago
Jesse Szwedko
922e3e2cea
Merge pull request #615 from uudashr/v2
...
Remove the error return signature
8 years ago