Commit Graph

1650 Commits

Author SHA1 Message Date
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
Ajitem Sahasrabuddhe
e2de8c7458
update readme with correct error message, add 1.12 and 1.11 to travis 2019-08-07 12:38:17 +05:30
Robert Liebowitz
a77c440b84
Merge branch 'master' into combined 2019-08-06 22:33:49 -04:00
Ajitem Sahasrabuddhe
24de27b05e
Merge branch 'master' into flag-type-generation-golang 2019-08-07 01:54:44 +05:30
Ajitem Sahasrabuddhe
c19938fbbf
update ci commands 2019-08-07 01:51:02 +05:30
Ajitem Sahasrabuddhe
6ee5b89e03
move build.go to root 2019-08-07 01:50:50 +05:30
Audrius Butkevicius
b626059537
Merge pull request #841 from urfave/AudriusButkevicius-patch-1
Update .travis.yml
2019-08-06 21:17:27 +01:00
Ajitem Sahasrabuddhe
e8bbb4c3b5
remove unnecessary sprintf 2019-08-07 01:46:22 +05:30
Audrius Butkevicius
59f572e953
Update .travis.yml 2019-08-06 21:09:50 +01:00
Audrius Butkevicius
43bfe0068b
Merge pull request #840 from marwan-at-work/ctx
add context.Context to cli.Context
2019-08-06 21:09:20 +01:00
marwan-at-work
be6dbba47b rm modules 2019-08-06 14:21:13 -04:00
marwan-at-work
c8863d0b30 PR updates 2019-08-06 14:20:21 -04:00
marwan-at-work
2fb0dc188f ignore compile errors 2019-08-06 14:14:12 -04:00
marwan-at-work
98e64f4507 add propagation tests 2019-08-06 14:04:51 -04:00
marwan-at-work
1f7d1684b8 fix nil check 2019-08-06 13:57:00 -04:00
marwan-at-work
cee005ee62 only create context once 2019-08-06 12:55:29 -04:00
Ajitem Sahasrabuddhe
5070d00811
move packages slice to global scope 2019-08-06 12:33:33 +05:30
Audrius Butkevicius
93392d12e8
Merge pull request #808 from yogeshlonkar/master
Add support for flags bash completion
2019-08-06 07:59:53 +01:00
Ajitem Sahasrabuddhe
adfe6a09c1
indenting fix 2019-08-06 12:14:18 +05:30
marwan-at-work
006fad30ca fix go.mod 2019-08-05 15:03:26 -04:00
Yogesh Lonkar
1db049685a
Fix unused regex 2019-08-05 20:22:52 +02:00
Yogesh Lonkar
2be2bc755e
Add additional test for log flag completion and comments 2019-08-05 20:18:08 +02:00
marwan-at-work
820040ec28 add context.Context to cli.Context 2019-08-05 14:06:10 -04:00
Yogesh Lonkar
c3f51bed6f
Fix SC2199: Arrays implicitly concatenate in 2019-08-05 17:07:46 +02:00
Yogesh Lonkar
c5612e8cd2
Fix review comments 2019-08-05 16:58:04 +02:00
Robert Liebowitz
8d31c5e167
Update README.md
Co-Authored-By: Ajitem Sahasrabuddhe <ajitem.s@outlook.com>
2019-08-05 07:05:07 -04:00
Robert Liebowitz
03153b9cf8 Allow combining short flags globally 2019-08-05 06:38:23 -04:00
Yogesh Lonkar
d6523cf869
Merge branch 'master' into master 2019-08-05 11:00:26 +02:00
Lynn Cyrin (they/them)
26945c58ed
Merge pull request #823 from xordspar0/master
Make the exit code example more clear
2019-08-04 12:36:23 -07:00
Lynn Cyrin (they/them)
c25e4cab32
Merge branch 'master' into master 2019-08-04 12:30:28 -07:00