Commit Graph

1725 Commits

Author SHA1 Message Date
Ajitem Sahasrabuddhe
afd0ecbbf2 Add support for Go 1.13
Drop support for Go 1.11
Use md2man v2 to avoid dependency issues when building with Go Modules
Enabled
Update TravisCI build environment images (trusty was deprecated)
Add optional Windows build
2019-09-10 06:17:39 +05:30
Aaron Berns
4d4a5d3b38 add tests for custom error messages 2019-09-09 17:01:24 -04:00
Ajitem Sahasrabuddhe
4a9e440503 Fix AppVeyor build 2019-09-09 08:12:09 +05:30
Ajitem Sahasrabuddhe
5c81af9f10 Remove generate script from travis flow
Remove unused dependencies from travis script
2019-09-09 07:48:08 +05:30
Ajitem Sahasrabuddhe
b6c5d17a83 Remove Flag Generation
Remove Legacy Python Scripts
2019-09-09 07:44:07 +05:30
Lynn Cyrin
4a4b9f40d8 Merge https://github.com/urfave/cli into pass-through-regression 2019-09-07 21:02:02 -07:00
Lynn Cyrin (they/them)
bfeb4c88ec Merge branch 'master' into pass-through-regression 2019-09-07 21:01:43 -07:00
Lynn Cyrin (they/them)
238c80f9b5 Update CHANGELOG.md 2019-09-07 20:44:48 -07:00
Lynn Cyrin (they/them)
980742b7cc typo 2019-09-07 20:43:56 -07:00
Lynn Cyrin (they/them)
890d49ca7a Release 1.22.0
- adds the changelog for 1.22.0
- updates the changelog for 1.21.0. some PRs were missed, as was mentioned here https://github.com/urfave/cli/pull/829#issuecomment-517968795
- closes https://github.com/urfave/cli/issues/867
2019-09-07 20:41:44 -07:00
Aaron Berns
f8eb02c99d add required flag and custom required flag error message example to README 2019-08-30 13:02:26 -04:00
Audrius Butkevicius
3eca1090a3 Merge pull request #879 from saschagrunert/escape-single-quotes
Escape single quotes in fish shell completion
2019-08-30 15:53:55 +01:00
Sascha Grunert
4bbff84169 Escape single quotes in fish shell completion
Single quotes can break the generated fish shell completion and should
be escaped correctly.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-30 08:56:11 +02:00
Audrius Butkevicius
38a6c560b3 Merge pull request #857 from saschagrunert/takes-file-fish
Add `TakesFile` to fish shell completion
2019-08-29 20:52:07 +01:00
Sascha Grunert
687f721eaa Update function alignment
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-26 10:07:50 +02:00
Lynn Cyrin
2071bcfb83 checkpoint 2019-08-26 00:18:36 -07:00
Sascha Grunert
0c01922a12 Add type switch
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-26 08:46:55 +02:00
Lynn Cyrin
406a1c31b0 update vars and args 2019-08-25 14:12:13 -07:00
Lynn Cyrin
0f9d8a9abd expand test cases 2019-08-25 11:14:20 -07:00
Lynn Cyrin
810b9714d3 cleanup 2019-08-25 10:34:15 -07:00
Lynn Cyrin
2172d382b6 update tests 2019-08-25 10:18:00 -07:00
Lynn Cyrin
192ce003d9 expand name 2019-08-25 09:17:16 -07:00
Lynn Cyrin
b0ed044b01 add regression test to its own file 2019-08-25 09:16:41 -07:00
Lynn Cyrin
c542fb3bed temp remove 2019-08-25 09:04:51 -07:00
Lynn Cyrin
15dc34ea12 more accurate regression reproduction 2019-08-25 08:54:06 -07:00
Sascha Grunert
38d0ac6296 Removed GetTakesFile and stick to type assertions
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2019-08-25 17:50:18 +02:00
Lynn Cyrin
e042de5cb4 Merge remote-tracking branch 'origin/master' into pass-through-regression 2019-08-25 07:33:41 -07:00
Sascha Grunert
a1cf7f44b6 Add TakesFile to fish shell completion
The new `TakesFile` flag will be now consumed by the fish shell
completion generator.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-25 13:58:18 +02:00
Lynn Cyrin (they/them)
fa6797beef Merge pull request #876 from urfave/lynncyrin-patch-1
Bump go version to 1.10 in readme
2019-08-24 18:58:52 -07:00
Audrius Butkevicius
82eb0d70cb Merge branch 'master' into lynncyrin-patch-1 2019-08-25 01:04:33 +01:00
Audrius Butkevicius
2344c98f67 Merge pull request #860 from saschagrunert/takes-file-not-all
Update `TakesFile` flag to apply only to supported flags
2019-08-25 01:04:17 +01:00
Lynn Cyrin (they/them)
edd8cb2068 Bump go version to 1.10 in readme
Closes https://github.com/urfave/cli/issues/875
2019-08-24 14:44:56 -07:00
Lynn Cyrin (they/them)
68ee2bc4af Merge branch 'master' into takes-file-not-all 2019-08-24 14:34:15 -07:00
Audrius Butkevicius
55de011cf8 Merge pull request #873 from urfave/show-test-failures
build: show failures when running tests
2019-08-24 11:55:28 +01:00
Audrius Butkevicius
d3edef887a Update build.go 2019-08-24 11:34:03 +01:00
Lynn Cyrin
c2d1a13208 Revert "check length"
This reverts commit 1095838cca.
2019-08-24 03:05:50 -07:00
Sascha Grunert
959d9ec36b Merge branch 'master' into takes-file-not-all 2019-08-24 11:23:51 +02:00
Lynn Cyrin (they/them)
7d62a9d054 Merge branch 'master' into show-test-failures 2019-08-24 00:50:42 -07:00
Lynn Cyrin
1095838cca check length 2019-08-24 00:49:29 -07:00
[[ BOT ]] Lynn Cyrin
29ad6ee6ad DRY 2019-08-23 20:09:08 -07:00
Audrius Butkevicius
392c1de1a2 Merge pull request #874 from saschagrunert/go-mod-cleanup
Cleanup go modules
2019-08-23 22:51:39 +01:00
Sascha Grunert
487c723673 Cleanup go modules
These two dependencies are not really needed, which can be
reproduced via:

```
> export GO111MODULE=on && go mod tidy
```

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-23 10:30:11 +02:00
[[ BOT ]] Lynn Cyrin
4fb1878feb show test failures 2019-08-22 21:56:20 -07:00
[[ BOT ]] Lynn Cyrin
8469a9de07 show test failures 2019-08-22 21:42:07 -07:00
[[ BOT ]] Lynn Cyrin
74cd3bc3fe cleanup tests 2019-08-22 21:29:33 -07:00
[[ BOT ]] Lynn Cyrin
6e8917398c comment out tests 2019-08-22 21:23:34 -07:00
[[ BOT ]] Lynn Cyrin
e265f5087f cleanup tests 2019-08-22 21:22:37 -07:00
[[ BOT ]] Lynn Cyrin
4381738fb5 wip regression test 2019-08-22 20:43:52 -07:00
Aaron Berns
52a016034a adjust custom-error related interface, struct and methods to reflect change in RequiredFlag interface 2019-08-20 15:39:18 -04:00
Aaron Berns
eb1734ba59 change RequiredFlagsErr to RequiredFlagErr, update to struct for custom message 2019-08-20 14:50:57 -04:00