Jesse Szwedko
a71fcd8f23
Merge pull request #491 from ykanda/toml-support
...
Add TOML config file loader
2016-07-31 12:06:35 -07:00
Antoine Eiche
94bc26fd1c
Refactoring names from bash to shell
...
The refactoring is required since completion is also supported for zsh
shell.
Refactoring details:
- flag generate-bash-completion -> generate-completion
- var EnableBashCompletion -> EnableShellCompletion
- var BashComplete -> ShellComplete
- var BashCompletionFlag -> GenerateCompletionFlag
- type BashCompleteFunc -> ShellCompleteFunc
2016-07-26 15:32:03 +02:00
Antoine Eiche
34a8b004d2
Documentation regarding the init-completion flag
2016-07-26 15:32:03 +02:00
Antoine Eiche
7640bef0eb
Add --init-completion flag to print completion code
...
This flag takes as input 'bash' or 'zsh' and generates the completion
code for the specified shell.
2016-07-26 15:32:03 +02:00
kandayasu
af0ac0f1f3
Merge branch 'master' into toml-support
2016-07-26 16:04:44 +09:00
Jesse Szwedko
d9021faab6
Merge pull request #500 from npcode/readme-remove-v
...
README: Remove unnecessary 'v' from version numbers
2016-07-25 18:14:03 -07:00
kandayasu
36b7d89bed
Fix typo
2016-07-26 01:37:18 +09:00
kandayasu
812de9e250
type "TomlMap" to private (rename TomlMap -> tomlMap)
2016-07-26 01:37:03 +09:00
Yi EungJun
c59ec842c1
README: Remove unnecessary 'v' from version numbers
...
'partay version v19.99.0' sounds 'partay version version 19.99.0'
because 'v' stands for 'version'.
2016-07-25 23:44:02 +09:00
e43a9fbf1e
Merge pull request #497 from urfave/error-behavior-changelog-mention
...
Refine error handling behavior
2016-07-24 14:53:24 -04:00
kandayasu
dd7cc7a6d2
Merge branch 'master' into toml-support
2016-07-25 02:47:48 +09:00
Dan Buch
e9688813e4
Refine error handling behavior
...
so that exit 1 happens as long as error is non-nil
2016-07-24 12:09:05 -04:00
8ae5b3d5e2
Merge pull request #496 from urfave/write-non-nil-error-message-exit-nonzero
...
Write err to stderr, exit 1 if err != ""
2016-07-24 12:06:30 -04:00
Dan Buch
dd253d122c
Write err to stderr, exit 1 if err != ""
...
Closes #475
2016-07-24 11:57:51 -04:00
ee2e8aa5b2
Merge pull request #495 from urfave/context-lookup-fix-487
...
Ensure context lookups traverse lineage
2016-07-24 11:17:30 -04:00
Dan Buch
ca2a0f72bf
Ensure context lookups traverse lineage
...
Closes #487
2016-07-23 21:53:55 -04:00
492afb9149
Merge pull request #494 from urfave/bump-tested-versions
...
Bump tested go versions
2016-07-23 18:33:46 -04:00
Dan Buch
76fb6d2ab7
Pin testing on go 1.4.2
...
since 1.4.3 is lacking `vet`
2016-07-23 18:16:45 -04:00
Dan Buch
71a99921b4
Bump tested go versions
...
and (maybe?) take advantage of support for N.x version syntax
2016-07-23 17:52:19 -04:00
924956d859
Merge pull request #493 from urfave/merging-from-v1
...
Merging from v1
2016-07-23 15:04:28 -04:00
Dan Buch
c360161d62
Merge remote-tracking branch 'origin/v1' into merging-from-v1
2016-07-23 14:52:58 -04:00
383ad23a88
Merge pull request #492 from urfave/goimports-iff-available
...
Ignore failed goimports installs
2016-07-23 14:52:09 -04:00
Dan Buch
8d4b6abc2b
Ignore failed goimports installs
...
since we only use it with go versions >= 1.5 anyway
2016-07-23 14:39:14 -04:00
Yasuhiro KANDA
3fc3cd6485
Add TOML config file loader
2016-07-24 01:35:11 +09:00
Jesse Szwedko
9646e60b1a
Merge pull request #484 from urfave/flake8-typegen
...
Run flake8 checks on generate-flag-types
2016-07-20 19:45:29 -07:00
af4aa82398
Merge branch 'v2' into flake8-typegen
2016-07-16 12:47:30 -04:00
215f2422ff
Merge pull request #486 from urfave/merging-from-v1
...
Merging from v1
2016-07-16 12:47:21 -04:00
Dan Buch
67cf919419
Fix some trailing gfmxr refs
2016-07-16 12:24:16 -04:00
Dan Buch
d3b67339c5
Merge remote-tracking branch 'origin/v1' into merging-from-v1
2016-07-16 12:15:38 -04:00
11c134509d
Merge pull request #485 from urfave/switch-to-gfmrun
...
Switch to renamed gfmrun tool
2016-07-16 12:11:36 -04:00
Dan Buch
2c1fd1510c
Switch to renamed gfmrun tool
2016-07-16 09:12:42 -04:00
Dan Buch
a51cb870fb
Wrap a long line for flake8
2016-07-15 21:49:55 -04:00
Dan Buch
fcaccb600b
Run flake8 checks on generate-flag-types
2016-07-15 08:45:46 -04:00
Jesse Szwedko
40a9813f6f
Merge pull request #483 from urfave/merging-from-v1
...
Merging from v1
2016-07-14 19:22:57 -07:00
Dan Buch
f7b2b93ffa
Merge remote-tracking branch 'origin/v1' into merging-from-v1
2016-07-14 17:50:16 -04:00
ec402ecec5
Merge pull request #482 from urfave/runtests-gen-all
...
Generate all code when checking for changes
2016-07-14 17:11:45 -04:00
Dan Buch
cbaa419c8f
Generate all code when checking for changes
2016-07-14 16:02:57 -04:00
f4ee034378
Merge pull request #481 from urfave/fix-subcommand-help-flag
...
Correctly show help message if `-h` is provided to subcommand
2016-07-14 16:00:57 -04:00
Jesse Szwedko
65da20beab
Correctly show help message if -h
is provided to subcommand
...
Currently, if an action is specified on a subcommand, it ignores the
`-h` and `--help` flags if passed to the subcommand, e.g.:
`foo bar -h`
would call the default action on `bar` rather than show the help
documentation.
Fixes #477
2016-07-13 14:48:16 -07:00
Jesse Szwedko
73aa67b7a2
Merge pull request #466 from urfave/flag-context-gen
...
Generate code for flag types and context accessors
2016-07-13 14:07:04 -07:00
Dan Buch
8a7c9b1e68
Merge remote-tracking branch 'origin/master' into flag-context-gen
2016-07-12 13:15:25 -04:00
3a5216227e
Merge pull request #479 from urfave/drop-go1.1.2-testing
...
Drop testing of go1.1.2
2016-07-12 13:14:36 -04: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
1f769cfe01
Merge branch 'master' into flag-context-gen
2016-07-11 05:17:07 -04:00
Dan Buch
06f64bd31d
Update docs and change log regarding go1.1 drop
2016-07-11 05:16:14 -04:00
Dan Buch
a73e54fe92
Merge remote-tracking branch 'origin/master' into drop-go1.1.2-testing
2016-07-11 05:11:11 -04:00
166bb4fa62
Merge pull request #480 from TimeIncOSS/f-metadata
...
app: Allocate Metadata map automatically
2016-07-11 03:37:11 -04:00
Radek Simko
bef215fe3e
app: Allocate Metadata map automatically
2016-07-11 07:39:58 +01:00
Dan Buch
fa120b0c1d
Drop testing of go1.1.2
...
since it's already a fairly diverged set of tests, and the fact that it passes
appears to be causing issues with overall CI build status, which is probably
some odd issue that surfaces because we're using `matrix.include`
2016-07-10 19:27:39 -04:00