Commit Graph

1997 Commits

Author SHA1 Message Date
Andrew Nicoll
a27ce0e881 unable to see whats happening here with lack of debug but this seems to resolve the failing doc test 2020-12-09 11:48:33 +00:00
Andrew Nicoll
2144cc5ad4 fix for parent context not setting child flags 2020-12-09 11:17:21 +00:00
Ajitem Sahasrabuddhe
d5833134fc
Merge pull request #1212 from jcgregorio/fix-cli-yml
Fix workflows/cli.yml.
2020-12-07 09:44:19 +05:30
Joe Gregorio
d5643c884a Fix workflows/cli.yml.
The ::set-env and ::add-path commands no longer work and need to
to be replaced. See:

    https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-12-06 10:00:16 -05:00
Madhur batra
ea14b62ecc Issue #1066: Display (accepts multiple inputs) for SliceFlags in the
help description.
2020-12-01 14:14:15 +05:00
Benjamin Kane
7c756af2b4
Add link to pkg.go.dev docs 2020-11-27 21:30:44 -08:00
Robert Liebowitz
fe989e1a7a
Merge pull request #1202 from fxrlv/patch-1
use Name as default to HelpName
2020-11-25 21:27:18 -05:00
Ajitem Sahasrabuddhe
ec731febcc
Merge pull request #1200 from urfave/add-support-for-go-115
Add Support for Go 1.15
2020-11-03 16:25:03 +05:30
Alexander Frolov
e40b83a394
use Name as default to HelpName 2020-11-03 13:22:01 +03:00
Ajitem Sahasrabuddhe
09ac54c2f9
Merge pull request #1175 from imle/imle/add-better-multi-line-description-formatting
Added template functions for multi-line Description formatting.
2020-11-01 14:29:08 +05:30
Robert Liebowitz
a99b68f006
Merge pull request #1194 from igorrius/extend-altscr
#1193 Expose constructor of MapInputSource type
2020-10-31 11:58:16 -04:00
Robert Liebowitz
5fed9f16be
Merge pull request #1188 from theoretick/bump-yaml-to-v2.2.3
Bump gopkg.in/yaml.v2 to v2.2.3
2020-10-31 11:57:40 -04:00
Robert Liebowitz
d89733ea65
Merge pull request #1183 from knqyf263/feat/subcommand_help_and_exit
feat(help): add ShowSubcommandHelpAndExit
2020-10-31 11:57:12 -04:00
Robert Liebowitz
3629eb8550
Merge pull request #1139 from kirinnee/master
Added manual and script for PowerShell autocomplete
2020-10-31 11:56:33 -04:00
Robert Liebowitz
3be15f7525
Merge pull request #1198 from ErinCall/paths-take-files
Support PathFlag.TakesFile in fish completion
2020-10-31 11:54:41 -04:00
Ajitem Sahasrabuddhe
06e570991c Reduce desiredMinBinarySize
Updating the Go version has also optimized the binary size, so the desiredMinBinarySize is being updated to be 1.9
2020-10-31 00:14:08 +05:30
Ajitem Sahasrabuddhe
2a5a092888 Add Support for Go 1.15
And also drop support for Go 1.12 in line with Go's Release Policy https://golang.org/doc/devel/release.html#policy
2020-10-31 00:08:57 +05:30
Erin Call
5c8d915be7
Revert "Refactor fishAddFileFlag for better flexibility [#1156]"
This reverts commit fcce511478.
2020-10-22 14:22:01 -07:00
Erin Call
c3263d495e
Merge branch 'master' into paths-take-files 2020-10-22 08:57:35 -07:00
Igor Artasevych
7f005015c8
Update altsrc/map_input_source.go
Co-authored-by: Robert Liebowitz <rliebz@gmail.com>
2020-10-22 10:00:45 +03:00
lynn (they)
e062e733d8
Merge pull request #1173 from zemzale/fix-documentation
Fix v1 aliases syntax in v2 docs
2020-10-21 20:18:45 -07:00
Robert Liebowitz
30bb6982f2
Merge pull request #1191 from stellirin/master
feature: Add a App.Reader that defaults to os.Stdin
2020-10-21 21:49:32 -04:00
Erin Call
fcce511478
Refactor fishAddFileFlag for better flexibility [#1156]
Performing reflection on the given flag ensures that fishAddFileFlag
will behave correctly if any flag types get a TakesFile field in the
future.
2020-10-13 13:00:19 -07:00
Erin Call
0d11bd55f5
Merge remote-tracking branch 'origin/master' into paths-take-files 2020-10-13 11:33:31 -07:00
Igor Artasevych
27a8625ccd #1193 Expose constructor of MapInputSource type 2020-10-08 18:38:59 +03:00
Sascha Grunert
cd82784a53
Merge pull request #1192 from Charliekenney23/fix-typo
fix grammatical error
2020-10-08 09:19:23 +02:00
Charles Kenney
e5407cccf7
fix grammatical error 2020-10-06 22:24:56 -04:00
Adam Farden
342ce5d654 feature: Add a App.Reader that defaults to os.Stdin
Closes: #1190
2020-10-02 12:39:44 +02:00
Sascha Grunert
f53989457f
Merge pull request #1178 from alexcb/master
bugfix: don't overwrite existing stringslice refence
2020-09-21 23:40:16 +02:00
Lucas Charles
8e9b8ccfa6 Bump gopkg.in/yaml.v2 to v2.2.3
Fixes susceptibility to billion laughs attack,
see GitLab Gemnasium advisory for details
d769b9b5f0/go/gopkg.in/yaml.v2/GMS-2019-2.yml
2020-09-18 09:16:14 -07:00
knqyf263
74af85a00d feat(help): add ShowSubcommandHelpAndExit 2020-09-08 17:53:16 +03:00
Alex Couture-Beil
2ae03fa69c bugfix: don't overwrite existing stringslice refence
fixes an issue where values set by environment var are not saved to
existing stringslice reference.
2020-08-24 14:20:17 -07:00
Alberts Zemzale
d273947592 Remove incorrect bracket in v2 docs example 2020-08-23 13:35:59 +03:00
Steven Imle
be9c037806 Added template functions for multi-line Description formatting. 2020-08-17 16:02:40 -04:00
Alberts Zemzale
bed468fb76 Fix v1 aliases syntax in v2 docs 2020-08-13 19:15:35 +03:00
Robert Liebowitz
d2d2098085
Merge pull request #1160 from vschettino/flag-timestamp-value
Allow using Value with TimestampFlag
2020-07-12 09:32:01 -04:00
Vinicius Schettino
54fbe0a445 Basic test case to check if Value is propagated as it should 2020-07-11 15:55:19 -03:00
Vinicius Schettino
7ecfd216b1 Verify whether there is a Value before overriding 2020-07-11 15:54:46 -03:00
lynn (they)
8e16b98d40
Merge pull request #1158 from s4uliu5/patch-1
Fix small manual typo
2020-07-01 19:49:08 -07:00
Saulius Gurklys
dff8accf57
Fix typo
Fixed small typo.
2020-07-01 23:20:25 +03:00
lynn (they)
9047f3b42d
Merge pull request #1153 from Irioth/master
Bugfix: Remove version flag from commands with subcommands
2020-06-23 09:23:47 -07:00
Erin Call
5bb54ace57
fish.go: support PathFlag.TakesFile [#1156] 2020-06-22 17:24:44 -07:00
Irioth
ef2d047c45 added test for successfully used -v flag on command with subcommands 2020-06-18 09:34:54 +03:00
Irioth
1f3e0b5233 make test more general and stable 2020-06-18 01:02:47 +03:00
Irioth
44371a2ac6 test for version flag on commands 2020-06-18 00:46:15 +03:00
Irioth
6d09498169 hide version flag for subcommands 2020-06-18 00:24:04 +03:00
lynn (they)
4f74020d9f
Merge pull request #1148 from tmatias/patch-1
fix link to docs on v2 manual
2020-06-16 13:49:51 -07:00
Tiago Matias
5b263d0ace
fix link to docs on v2 manual
was pointing to v1 docs
2020-06-15 12:04:06 -03:00
kirinnee
9523a3481b
Updated Docs Header in table of content for PowerShell support 2020-06-08 10:54:27 +08:00
lynn (they)
b190f2d2fc
Merge pull request #1127 from sgoroshko/master
fix #1121(StringSliceFlag set default value into destination)
2020-06-03 17:17:52 -07:00