Ben Zvan
83b99c4109
Created using Colaboratory
2019-06-25 18:47:58 -05:00
Ben Zvan
23042d3707
Merge branch 'master' into master
2019-06-14 10:14:07 -05:00
Yogesh Lonkar
62f02f21ef
Don't complete hidden flags
2019-04-11 10:57:58 +05:30
Yogesh Lonkar
1d7a2b08d6
Add default completion on commands, test cases, refactor code
2019-03-21 13:01:48 +05:30
Yogesh Lonkar
fb1421d903
Fix duplicate completion of existing flag
2019-03-20 21:34:56 +05:30
Yogesh Lonkar
58a072d573
Add bash completion support for flags
2019-03-20 20:28:51 +05:30
mingrammer
ddc3453179
Update README.md
2019-03-07 00:04:18 +09:00
mingrammer
a0453b2200
Fix the unaligned indents for the commands that have no categories
2019-03-06 23:51:22 +09:00
Audrius Butkevicius
693af58b4d
Merge pull request #766 from agis/patch-1
...
Fix README typo
2019-02-03 18:40:40 +00:00
Audrius Butkevicius
6aa7f352fa
Merge branch 'master' into redundant-nil-check-slice
2019-02-03 18:39:49 +00:00
Audrius Butkevicius
e229212769
Merge pull request #798 from Quasilyte/patch-1
...
use type switch instead of if/else
2019-02-03 18:37:18 +00:00
Iskander (Alex) Sharipov
5b83c895a7
use type switch instead of if/else
...
This reduces the syntax noise of the code by
removing excessive type assertions.
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
2019-01-29 22:51:02 +03:00
Ben Zvan
4a76377775
go fmt
2018-12-26 12:48:12 -06:00
Ben Zvan
d63733fe14
adds test coverage to context
2018-12-26 12:45:34 -06:00
Audrius Butkevicius
b67dcf995b
Merge pull request #776 from gliptak/patch-2
...
Bring Go version current
2018-10-29 21:32:00 +00:00
Audrius Butkevicius
11ab68f24d
Merge branch 'master' into patch-2
2018-10-29 21:19:45 +00:00
Audrius Butkevicius
cbebba941b
Merge pull request #775 from gliptak/patch-1
...
Correct typo
2018-10-29 21:18:40 +00:00
Gábor Lipták
769f6d543b
Bring Go version current
2018-10-18 21:00:02 -04:00
Gábor Lipták
9587fc27bd
Correct typo
2018-10-18 20:56:13 -04:00
Christopher Waldon
3e145076ab
Clarify that altsrc supports both TOML and JSON
2018-10-12 11:30:46 -04:00
teresy
21dfc6eb83
Remove redundant nil checks
2018-10-10 14:54:48 -04:00
Agis Anastasopoulos
d7c3be8267
Fix README typo
2018-08-21 11:19:37 +03:00
Audrius Butkevicius
934abfb2f1
Merge pull request #758 from vrothberg/fix-short-opts-parsing
...
short opt handling: fix parsing
2018-08-21 07:40:27 +01:00
Valentin Rothberg
3e5a935ed3
fix go vet
warning
...
command_test.go:342:3 value declared but not used
Signed-off-by: Valentin Rothberg <vrothberg@suse.com>
2018-08-21 08:33:42 +02:00
Valentin Rothberg
c23dfba701
short opt handling: fix parsing
...
Only split a given string (e.g., "-abc") into short options (e.g., "-a",
"-b", "-c") if all those are flags. To further avoid mistakenly
transform common arguments, catch "flag provided but not defined" errors
to iteratively transform short options.
Signed-off-by: Valentin Rothberg <vrothberg@suse.com>
Fixes: https://github.com/projectatomic/libpod/issues/714
2018-08-20 12:35:43 +02:00
8e01ec4cd3
Merge pull request #598 from urfave/backport-json-support
...
Backport JSON InputSource to v1
2018-02-25 22:02:53 -05:00
8dc47eb3cb
Merge branch 'master' into backport-json-support
2018-02-25 16:09:48 -05:00
d4bf9ce860
Merge pull request #498 from urfave/merging-jereksel-zsh
...
Merging #489 (plus hack)
2018-02-25 16:09:04 -05:00
e59e4743b8
Merge branch 'master' into merging-jereksel-zsh
2018-02-24 22:02:40 -05:00
b09aafdfe9
Merge pull request #681 from urfave/check-run-error-in-readme
...
Update README examples to check for errors
2018-02-24 22:02:19 -05:00
5fc8124af1
Merge branch 'master' into merging-jereksel-zsh
2018-02-24 21:58:26 -05:00
bc77a15c69
Merge branch 'master' into check-run-error-in-readme
2018-02-24 21:54:06 -05:00
Jesse Szwedko
446f49e78f
Merge pull request #715 from urfave/maintainers-notice
...
Adjust contribution and maintainer prose per current reality
2018-02-20 21:16:31 -08:00
45289ea7a0
Adjust contribution and maintainer prose per current reality
2018-02-20 12:40:43 -05:00
59e1ddb43e
Merge branch 'master' into check-run-error-in-readme
2018-02-13 15:27:04 -05:00
Jesse Szwedko
a1c7408de3
Merge pull request #712 from windler/fix_args_reorder
...
Fix args reordering when bool flags are present
2018-02-10 18:18:39 -08:00
Nico Windler
3a87b13b01
Fix args reordering when bool flags are present
2018-02-10 14:00:34 +01:00
Jesse Szwedko
803d066579
Merge pull request #704 from dolmen/replace-unneeded-Sprintf
...
Fix unnecessary uses of Sprintf
2018-02-02 13:13:18 -08:00
Jesse Szwedko
d3ae77c26a
Merge pull request #641 from cbranch/altsrc-parse-durations
...
altsrc: Parse durations from strings
2018-01-28 10:24:52 -08:00
Jesse Szwedko
1355f91780
Merge pull request #662 from OneOfOne/v2
...
lint + DefaultCommand
2018-01-28 10:14:10 -08:00
Jesse Szwedko
d604b6ffee
Merge branch 'v2' into altsrc-parse-durations
2018-01-28 10:12:24 -08:00
Jesse Szwedko
15a051e65a
Merge branch 'v2' into v2
2018-01-28 10:09:28 -08:00
Jesse Szwedko
20e2dde44b
Merge pull request #703 from urfave/update-osx-pip-name
...
Update pip to pip2 for new OSX builds
2018-01-28 10:09:08 -08:00
Jesse Szwedko
a35a28c15e
Update pip to pip2 for new OSX builds
...
See https://github.com/travis-ci/travis-ci/issues/8829
2018-01-28 09:58:38 -08:00
Olivier Mengué
d7555e1729
Fix unnecessary uses of Sprintf
...
- use strconv directly
- use concatenation for "%s%s"
2018-01-26 21:15:37 +01:00
OneOfOne
4960b5b3bc
Merge branch 'v2' of https://github.com/OneOfOne/cli into v2
...
* 'v2' of https://github.com/OneOfOne/cli :
Add PathFlag
2018-01-23 19:45:41 +02:00
OneOfOne
10c9734c5e
notes
2018-01-23 19:45:38 +02:00
Jesse Szwedko
9b135236c7
Merge branch 'v2' into v2
2018-01-22 13:41:57 -08:00
Jesse Szwedko
75104e932a
Merge pull request #697 from urfave/fix-skip-flag-parsing
...
Fix regression of SkipFlagParsing behavior
2018-01-06 11:10:48 -08:00
Jesse Szwedko
e38e4ae2d0
Fix regression of SkipFlagParsing behavior
...
Introduced by df562bf1a8
Was mistakenly prepending the command name.
2017-12-29 13:38:18 -05:00