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
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
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
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
Ajitem Sahasrabuddhe
7e49cc210a
Merge pull request #848 from saschagrunert/fish-shell
...
Add fish shell completion support
2019-08-10 09:01:16 +00:00
Ajitem Sahasrabuddhe
4e42a2f02c
Merge branch 'master' into fish-shell
2019-08-10 08:47:31 +00:00
Ajitem Sahasrabuddhe
8b18c71e1a
Merge pull request #851 from saschagrunert/takes-file
...
Add `TakesFile` indicator to flag
2019-08-10 08:47:23 +00:00
Ajitem Sahasrabuddhe
56d12d0c2f
Merge branch 'master' into fish-shell
2019-08-09 17:21:24 +05:30
Sascha Grunert
c6c200864d
Merge branch 'master' into takes-file
2019-08-09 13:48:36 +02:00
Ajitem Sahasrabuddhe
7058c58eb6
Merge pull request #847 from saschagrunert/remove-date-var
...
Remove unused `Date` variable from `cliTemplate`
2019-08-09 17:16:13 +05:30
Audrius Butkevicius
de0fa70433
Merge branch 'master' into remove-date-var
2019-08-09 12:38:50 +01:00
Sascha Grunert
e9e9e0ac5d
Add TakesFile
indicator to flag
...
This new member of `Flag` indicates if the flag expects a file as input.
This is especially useful for documentation and shell completion purposes.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-09 09:10:41 +02:00
Sascha Grunert
7506b11da7
Add fish shell completion support
...
This commit adds a new method `ToFishCompletion` to the `*App` which can
be used to generate a fish completion string for the application.
Relates to: #351
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-09 08:58:06 +02:00
Ajitem Sahasrabuddhe
2e0e39a03b
Merge pull request #845 from urfave/lint-fixes
...
linter fixes
2019-08-09 10:34:28 +05:30
Sascha Grunert
0d79d1d9d9
Remove unused Date
variable from cliTemplate
...
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-08 14:04:21 +02:00
Ajitem Sahasrabuddhe
aed704a9d0
Merge branch 'master' into lint-fixes
2019-08-08 14:44:02 +05:30
Audrius Butkevicius
946f918365
Merge pull request #735 from rliebz/combined
...
Add app-wide support for combining short flags
2019-08-08 09:13:09 +01:00
Ajitem Sahasrabuddhe
0990ca2391
Merge branch 'master' into lint-fixes
2019-08-08 13:36:30 +05:30
Ajitem Sahasrabuddhe
286133fee5
Merge branch 'master' into combined
2019-08-08 13:33:32 +05:30
Audrius Butkevicius
2c477e720e
Merge pull request #830 from saschagrunert/docs-gen
...
Add markdown and man page docs generation methods
2019-08-08 08:41:19 +01:00
Audrius Butkevicius
99fad61ded
Merge branch 'master' into docs-gen
2019-08-08 07:06:08 +01:00
Audrius Butkevicius
e0057bb597
Merge pull request #846 from urfave/asahasrabuddhe-patch-1
...
Update README.md
2019-08-08 07:04:25 +01:00
Audrius Butkevicius
815c29ffc7
Merge branch 'master' into combined
2019-08-08 07:03:49 +01:00
Ajitem Sahasrabuddhe
fd395786a2
Update README.md
...
remove quotes around coverage badge
2019-08-07 21:00:07 +05:30
Ajitem Sahasrabuddhe
fdba7e0f8c
linter fixes
...
code cleanup
changing some test code to ensure uniformity
2019-08-07 20:14:50 +05:30
Sascha Grunert
40d4a25a01
Add markdown and man page docs generation methods
...
This adds two new methods to the `App` struct:
- `ToMarkdown`: creates a markdown documentation string
- `ToMan`: creates a man page string
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2019-08-07 14:02:28 +02:00
Audrius Butkevicius
521735b760
Merge pull request #844 from urfave/asahasrabuddhe-patch-1
...
Update README.md
2019-08-07 12:10:34 +01:00
Ajitem Sahasrabuddhe
22e1fc8419
Update README.md
...
add codecov.io badge
2019-08-07 14:02:52 +05:30
Ajitem Sahasrabuddhe
97179ca390
Merge pull request #843 from lafriks/patch-1
...
Support GoLang 1.10 to 1.12
2019-08-07 13:58:51 +05:30
Lauris BH
3a41d6d785
Lower support to GoLang compiler version 1.10
2019-08-07 11:21:31 +03:00
Ajitem Sahasrabuddhe
1f4473209d
Update .travis.yml
...
support go versions in line with go's release policy
2019-08-07 13:50:04 +05:30
Lauris BH
e3fa7e8566
Support also GoLang 1.11 compiler
2019-08-07 11:06:15 +03:00
Ajitem Sahasrabuddhe
b6f7dd9359
Merge pull request #836 from urfave/flag-type-generation-golang
...
Flag Generation in the CLI
2019-08-07 13:28:34 +05:30