lynn (they)
c3ebeaee7b
Update stale.yml
4 years ago
Zach Wasserman
a7dc35be5b
Link to godoc for v2
...
This is consistent with the default tag for the repository.
4 years ago
lynn (they)
44ec98527e
Merge pull request #1225 from Coderlane/command_reader
...
fix: Propagate App.Reader to subcommands
4 years ago
lynn (they)
8fb96e61af
Merge pull request #1226 from Coderlane/doc_command
...
fix: Fixup runnable example input arguments
4 years ago
Travis Lane
1f380b0733
fix: Fixup runnable example input arguments
...
This command has no name, so drop the `test-cmd` in `args`.
4 years ago
Travis Lane
17032bc33c
fix: Propagate App.Reader to subcommands
...
This change copies the `Reader` set in `App` to the new `App` created for
subcommands. I've also added a basic test to demonstrate the issue.
4 years ago
Madhur batra
fc1d3eb8da
Merge branch 'master' of https://github.com/urfave/cli
4 years ago
lynn (they)
2e9dc401bb
Merge pull request #1216 from wgumenyuk/patch-1
...
Fix: typo
4 years ago
Wlad Gumenyuk
57d60cd570
Fix: typo
...
Corrected "eror" to "error" on line 331.
4 years ago
Robert Liebowitz
83394fca6f
Merge pull request #1207 from bbkane/patch-1
...
Add link to pkg.go.dev docs in manual.md
4 years ago
Andrew Nicoll
ebe2c0ea70
add for int64
4 years ago
Andrew Nicoll
02f3866db2
add nother test
4 years ago
Andrew Nicoll
55992853bf
add flag tests
4 years ago
Andrew Nicoll
a27ce0e881
unable to see whats happening here with lack of debug but this seems to resolve the failing doc test
4 years ago
Andrew Nicoll
2144cc5ad4
fix for parent context not setting child flags
4 years ago
Ajitem Sahasrabuddhe
d5833134fc
Merge pull request #1212 from jcgregorio/fix-cli-yml
...
Fix workflows/cli.yml.
4 years ago
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/
4 years ago
Madhur batra
ea14b62ecc
Issue #1066 : Display `(accepts multiple inputs)` for SliceFlags in the
...
help description.
4 years ago
Benjamin Kane
7c756af2b4
Add link to pkg.go.dev docs
4 years ago
Robert Liebowitz
fe989e1a7a
Merge pull request #1202 from fxrlv/patch-1
...
use Name as default to HelpName
4 years ago
Mostyn Bramley-Moore
cdc1f6e07c
fixup! Report the source of a value when we cannot parse it
...
move bool to the end of the return arguments
remove "from " prefix in the source/fromWhere description
remove TODO notes from functions that don't currently perform error checking
4 years ago
Mostyn Bramley-Moore
500d6b04e6
Report the source of a value when we cannot parse it
...
If you allow a flag to be set from environment variables or files and
a parse error occurs from one of them, it is very useful for the error
message to mention where the value came from.
Without this, it can be difficult to notice an error caused by an
unexpected environment variable being set.
Implements #1167 .
4 years ago
Ajitem Sahasrabuddhe
ec731febcc
Merge pull request #1200 from urfave/add-support-for-go-115
...
Add Support for Go 1.15
4 years ago
Alexander Frolov
e40b83a394
use Name as default to HelpName
4 years ago
Ajitem Sahasrabuddhe
09ac54c2f9
Merge pull request #1175 from imle/imle/add-better-multi-line-description-formatting
...
Added template functions for multi-line Description formatting.
4 years ago
Robert Liebowitz
a99b68f006
Merge pull request #1194 from igorrius/extend-altscr
...
#1193 Expose constructor of MapInputSource type
4 years ago
Robert Liebowitz
5fed9f16be
Merge pull request #1188 from theoretick/bump-yaml-to-v2.2.3
...
Bump gopkg.in/yaml.v2 to v2.2.3
4 years ago
Robert Liebowitz
d89733ea65
Merge pull request #1183 from knqyf263/feat/subcommand_help_and_exit
...
feat(help): add ShowSubcommandHelpAndExit
4 years ago
Robert Liebowitz
3629eb8550
Merge pull request #1139 from kirinnee/master
...
Added manual and script for PowerShell autocomplete
4 years ago
Robert Liebowitz
3be15f7525
Merge pull request #1198 from ErinCall/paths-take-files
...
Support PathFlag.TakesFile in fish completion
4 years ago
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
4 years ago
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
4 years ago
Erin Call
5c8d915be7
Revert "Refactor fishAddFileFlag for better flexibility [ #1156 ]"
...
This reverts commit fcce511478
.
4 years ago
Erin Call
c3263d495e
Merge branch 'master' into paths-take-files
4 years ago
Igor Artasevych
7f005015c8
Update altsrc/map_input_source.go
...
Co-authored-by: Robert Liebowitz <rliebz@gmail.com>
4 years ago
lynn (they)
e062e733d8
Merge pull request #1173 from zemzale/fix-documentation
...
Fix v1 aliases syntax in v2 docs
4 years ago
Robert Liebowitz
30bb6982f2
Merge pull request #1191 from stellirin/master
...
feature: Add a App.Reader that defaults to os.Stdin
4 years ago
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.
4 years ago
Erin Call
0d11bd55f5
Merge remote-tracking branch 'origin/master' into paths-take-files
4 years ago
Igor Artasevych
27a8625ccd
#1193 Expose constructor of MapInputSource type
4 years ago
Sascha Grunert
cd82784a53
Merge pull request #1192 from Charliekenney23/fix-typo
...
fix grammatical error
4 years ago
Charles Kenney
e5407cccf7
fix grammatical error
4 years ago
Adam Farden
342ce5d654
feature: Add a App.Reader that defaults to os.Stdin
...
Closes : #1190
4 years ago
Sascha Grunert
f53989457f
Merge pull request #1178 from alexcb/master
...
bugfix: don't overwrite existing stringslice refence
4 years ago
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
4 years ago
Zack Scholl
a8e44a8b5b
show only subcommand flags with bash completion
4 years ago
knqyf263
74af85a00d
feat(help): add ShowSubcommandHelpAndExit
4 years ago
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.
4 years ago
Alberts Zemzale
d273947592
Remove incorrect bracket in v2 docs example
4 years ago
Steven Imle
be9c037806
Added template functions for multi-line Description formatting.
4 years ago