Commit Graph

1136 Commits

Author SHA1 Message Date
Ajitem Sahasrabuddhe
1547ac2f6a Modify variable names 2019-09-11 14:15:20 +05:30
Ajitem Sahasrabuddhe
cbb9e015b8 Improve Code and Add Test Case 2019-09-11 09:21:45 +05:30
Ajitem Sahasrabuddhe
7d6a604106 Fix #878 2019-09-11 08:59:51 +05:30
Audrius Butkevicius
b207e20873 Merge pull request #889 from crosbymichael/hidden-man
Don't output hidden commands for  man pages
2019-09-10 21:28:35 +01:00
Michael Crosby
487be14dce Don't output hidden commands for man pages
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-09-10 13:49:11 -04:00
Audrius Butkevicius
249cb33392 Merge pull request #885 from urfave/go-modules-support
Go modules support
2019-09-10 08:28:09 +01:00
Ajitem Sahasrabuddhe
abfb13b854 Merge branch 'master' into go-modules-support 2019-09-10 06:56:41 +05:30
Ajitem Sahasrabuddhe
534d60bb9b Bump minimum supported version of Go to 1.11 2019-09-10 06:40:45 +05:30
Ajitem Sahasrabuddhe
bfe2e925cf Merge pull request #882 from urfave/lynncyrin-patch-1
Release 1.22.0
2019-09-10 06:24:10 +05:30
Ajitem Sahasrabuddhe
426e21c150 Update .travis.yml
Set GOPROXY in Travis environment
2019-09-10 06:18:23 +05:30
Ajitem Sahasrabuddhe
39bd617664 Cleanup after before_script to avoid git diff errors
remove windows build
2019-09-10 06:18:11 +05:30
Ajitem Sahasrabuddhe
edbf66c25c Update gfmrun import command to suite Go Modules pattern
Fix test command typo in travis script
2019-09-10 06:17:58 +05:30
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
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
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
Sascha Grunert
0c01922a12 Add type switch
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-26 08:46:55 +02: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
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
8469a9de07 show test failures 2019-08-22 21:42:07 -07:00
Lynn Cyrin (they/them)
23c8303026 Merge pull request #862 from russoj88/UpdateREADME_gopkg.in_v1
Rewrite the "pinning to v1" section.
2019-08-17 11:24:05 -07:00
russoj88
6a25af9641 Merge branch 'master' into UpdateREADME_gopkg.in_v1 2019-08-17 10:01:35 -07:00
Audrius Butkevicius
ecd576e779 Merge pull request #868 from urfave/lynncyrin-patch-1
Modernize readme
2019-08-17 16:51:43 +01:00
Lynn Cyrin (they/them)
e11183fe50 Modernize readme
I assume that people no longer care about what the package was named many years ago
2019-08-17 02:44:49 -07:00
russoj88
3bc62c4fde Mimic v2 example code from above. 2019-08-15 12:30:29 -07:00
russoj88
62b8a7cc2c Add "Using v1 releases" to table of contents. 2019-08-14 11:21:56 -07:00
russoj88
cc091db561 Update README.md
Only instruct on right way to use library.

Co-Authored-By: Lynn Cyrin (they/them) <lynncyrin@gmail.com>
2019-08-14 11:21:40 -07:00
russoj88
f529dad70c Update README.md
Include suggestion to put example in.

Co-Authored-By: Lynn Cyrin (they/them) <lynncyrin@gmail.com>
2019-08-14 11:20:58 -07:00
russoj88
f2c26bab77 Rewrite the "pinning to v1" section. 2019-08-13 21:10:38 -07:00
Sascha Grunert
3681b057c5 Update TakesFile flag to apply only to supported flags
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-13 09:43:57 +02:00
Audrius Butkevicius
6cc7e987c4 Merge pull request #856 from FaranIdo/master
Add Subcommand fallback call to ExitErrHandler, fixing #816
2019-08-12 21:30:37 +01:00
FaranIdo
08c24e22ed add missing ExitErrHandler in command + matching test, fixing #816 2019-08-12 00:29:46 +03:00