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
Alberts Zemzale
bed468fb76
Fix v1 aliases syntax in v2 docs
4 years ago
Robert Liebowitz
d2d2098085
Merge pull request #1160 from vschettino/flag-timestamp-value
...
Allow using Value with TimestampFlag
4 years ago
Vinicius Schettino
54fbe0a445
Basic test case to check if Value is propagated as it should
4 years ago
Vinicius Schettino
7ecfd216b1
Verify whether there is a Value before overriding
4 years ago
lynn (they)
8e16b98d40
Merge pull request #1158 from s4uliu5/patch-1
...
Fix small manual typo
4 years ago
Saulius Gurklys
dff8accf57
Fix typo
...
Fixed small typo.
4 years ago
lynn (they)
9047f3b42d
Merge pull request #1153 from Irioth/master
...
Bugfix: Remove version flag from commands with subcommands
4 years ago
Erin Call
5bb54ace57
fish.go: support PathFlag.TakesFile [ #1156 ]
4 years ago
Irioth
ef2d047c45
added test for successfully used -v flag on command with subcommands
4 years ago
Irioth
1f3e0b5233
make test more general and stable
4 years ago
Irioth
44371a2ac6
test for version flag on commands
4 years ago
Irioth
6d09498169
hide version flag for subcommands
4 years ago
lynn (they)
4f74020d9f
Merge pull request #1148 from tmatias/patch-1
...
fix link to docs on v2 manual
4 years ago
Tiago Matias
5b263d0ace
fix link to docs on v2 manual
...
was pointing to v1 docs
4 years ago
kirinnee
9523a3481b
Updated Docs Header in table of content for PowerShell support
4 years ago
lynn (they)
b190f2d2fc
Merge pull request #1127 from sgoroshko/master
...
fix #1121(StringSliceFlag set default value into destination)
4 years ago
Sergey Goroshko
10fe017765
fix nested conditions
4 years ago
kirinnee
b236763df5
Added manual and script for PowerShell autocomplete
4 years ago
Robert Liebowitz
477292c8d4
Merge pull request #1137 from TomOnTime/envars
...
Document EnvVar change
4 years ago
Tom Limoncelli
42aad27f4c
Document EnvVar change
4 years ago
lynn (they)
61026898ff
Merge pull request #1130 from oleorhagen/zshfiles
...
fix(zsh_autocomplete): List files on tab with no completion options
4 years ago
lynn (they)
fdf2d38b2a
Merge pull request #1129 from oleorhagen/reqflagr
...
Reqflagr
4 years ago
Ole Petter
b27d899434
fix(zsh_autocomplete): List files on tab with no completion options
...
This will simply list the files in the current directory if there are no
auto-completion options available.
With this change, the zsh auto-completion will align with the functionality in
the bash auto-completion file provided.
New functionality: https://asciinema.org/a/EAYRIEVGTGNSS2gCGwSJ4Zw1i
Old functionality: https://asciinema.org/a/BfOZz4BHUGwjXMFptbmDHZocH
Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
4 years ago
Ole Petter
48392103ce
test(context): Change the StringSliceFlag to a pointer
...
StringSliceFlag needs to be a pointer, and not a struct. Also formatted the test.
See: https://github.com/urfave/cli/pull/1126 for a description of the regression
tested for.
Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
4 years ago