Dan Buch
f1fc873f1f
Merge pull request #1418 from urfave/un-workaround
...
Remove temporary go mod workaround
2 years ago
Dan Buch
9f56fe7088
Remove temporary go mod workaround
2 years ago
Dan Buch
f71d1cb6d2
Merge pull request #1417 from urfave/deps-bump
...
Update dependencies to latest
2 years ago
Dan Buch
59ce32aad4
Update dependencies to latest
2 years ago
Dan Buch
1362627dd7
Approve usage wrapping docs changes
2 years ago
Dan Buch
b927c6ad2f
Merge pull request #1415 from urfave/upgrade-go-yaml
...
Upgrade gopkg.in/yaml to v3
2 years ago
Jesse Szwedko
72dc91db74
Re-use `node` variable
...
Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
2 years ago
Jesse Szwedko
ee0756044c
Upgrade gopkg.in/yaml to v3
...
Fixes vulnerability: https://github.com/advisories/GHSA-hp87-p4gw-j4gq
YAML v3 deserializes maps as map[string]interface{} so we handle this in
MapImportSource now.
Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
2 years ago
Dan Buch
e576ba4022
Merge pull request #1119 from mostynb/word_wrap_v2
...
Add word-wrap support, with wrap length provided by the user
2 years ago
Dan Buch
2d1634cba6
Merge pull request #1412 from urfave/update-v2-docs
...
Update the v2 docs since merging #1409
2 years ago
Dan Buch
3082652ad6
Update the v2 docs since merging #1409
2 years ago
Dan Buch
8007c54e1d
Merge pull request #1409 from joeycumines/main
...
Add SliceFlag wrapper and fix bugs in existing implementations
2 years ago
Joseph Cumines
4f795e3870
Fix build for go < 1.18
2 years ago
Joseph Cumines
e77dd7bb68
Add SliceFlag wrapper and fix bugs in existing implementations
...
The SliceFlag implementation and associated aliases (MultiStringFlag, etc)
extend the existing slice implementations (StringSliceFlag, etc) to support
actual slices as the flag value and destination.
This change also fixes various bugs in the existing implementation. Notably,
the StringSliceFlag.Apply implementation would modify the input (default)
Value, if an env var was set, and no destination was provided. The bugs fixed
in the other three implementations were all already fixed in either
StringSliceFlag, or in one case (ignoring empty env var) in Float64SliceFlag.
2 years ago
Dan Buch
947f9894ee
Merge pull request #1407 from urfave/missing-go-sums
...
Add some missing go.sum entries needed with 1.16.x
2 years ago
Dan Buch
813ab33ba0
Add some missing go.sum entries needed with 1.16.x
2 years ago
Dan Buch
12a4c542ec
Merge pull request #1402 from mostynb/fix_typo
...
Fix 'repetetive' typo
2 years ago
Dan Buch
5ff4e2ac38
Merge pull request #1405 from AkihiroSuda/remove-gpl2-dependency
...
Remove GPL2 dependency introduced in v2.7.0
2 years ago
Akihiro Suda
3e31c9b44c
CI: workaround for golang.org/x/tools error
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2 years ago
Akihiro Suda
a14bd76b6b
Remove GPL2 dependency introduced in v2.7.0
...
This commit replaces github.com/antzucaro/matchr (GPL2, introduced in v2.7.0)
with github.com/xrash/smetrics (MIT License).
Fixes issue 1404
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2 years ago
Mostyn Bramley-Moore
eecfd0046b
Fix 'repetetive' typo
2 years ago
Mostyn Bramley-Moore
4fd56cb22d
Add word-wrap support, with wrap length provided by the user
...
We could try to automatically detect the terminal width and wrap at that
point, but this would increase the binary footprint for all users even
if not using this feature.
Instead, we can allow users to specify their preferred line length limit
(if any), and those who want to bear the cost of checking the terminal
size can do so if they wish. This also makes the feature more testable.
Original patch by Sascha Grunert <sgrunert@suse.com>
2 years ago
Dan Buch
595cabc60c
Merge pull request #1403 from urfave/gfmrun-current
...
Run docs tests against current work tree
2 years ago
Dan Buch
8f47e6dc97
Set absolute `bash` path
...
and slightly revert assertion in docs test to ensure flag ordering
2 years ago
Dan Buch
5edc1b95e8
Run docs tests against current work tree
...
by creating a temporary go workspace to be used by gfmrun via `TMPDIR`.
2 years ago
Dan Buch
24197006ef
Merge pull request #1399 from urfave/docs-pointer
...
Point to the docs tree and site from top-level README
2 years ago
Dan Buch
9de0cd3c4a
Merge pull request #1396 from urfave/suggestion-pluggability
...
Introduce override hooks for suggestions
2 years ago
Dan Buch
9e65b4d085
Merge pull request #1368 from urfave/michaeljs1990-add-flag-category-support
...
Add flag category support (#796 )
2 years ago
Dan Buch
4bca72cea1
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support
2 years ago
Dan Buch
939ab7f9e7
Merge pull request #1365 from urfave/security-policy-doc
...
Add a security policy document
2 years ago
Dan Buch
60a6bf5866
Merge pull request #1354 from urfave/mostynb-report_source_of_parse_errors
...
Merging mostynb report source of parse errors
2 years ago
Dan Buch
fc27cb08fc
Merge remote-tracking branch 'origin/main' into mostynb-report_source_of_parse_errors
2 years ago
Dan Buch
f528cf0a1e
Merge pull request #1350 from urfave/applying-pr1218
...
Another approach for zsh completion (#1218 )
2 years ago
Dan Buch
e66017d73a
Refinements to removal of zsh hack
2 years ago
Dan Buch
e66ce91db1
Merge remote-tracking branch 'origin/main' into applying-pr1218
2 years ago
Dan Buch
a78717f4f9
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support
2 years ago
Dan Buch
5c1c2ea35d
Merge pull request #1400 from urfave/docs-publish-debugging
...
Docs publishing fixes
2 years ago
Dan Buch
b3359c3e27
Re-enable workflow conditions
2 years ago
Dan Buch
e7f3925a5a
Use correct yaml multiline 🤦
2 years ago
Dan Buch
e592640fdb
Unshallow the clone + toc cleanups
2 years ago
Dan Buch
5988cc6040
Try running mkdocs steps directly
2 years ago
Dan Buch
70e1ed4c9d
Attempt to work around materialx yaml loader boom
2 years ago
Dan Buch
522b7e0d92
Use existing secret name in docs publish step
2 years ago
Dan Buch
660d25f14d
Un-delete non-redundant docs
2 years ago
Dan Buch
4536c8742d
Point to the docs tree and site from top-level README
2 years ago
Dan Buch
061250ade5
Use correctly spelled repo name in mkdocs config
2 years ago
Dan Buch
5bb9f453dc
Also make the did-you-mean template pluggable
2 years ago
Dan Buch
68bd4903fd
Introduce override hooks for suggestions
...
Related to https://github.com/urfave/cli/pull/1390#discussion_r871398659
2 years ago
Dan Buch
e770ee9794
Merge pull request #1390 from urfave/saschagrunert-suggestions
...
Add suggestions support (#977 )
2 years ago
Dan Buch
f3cf7640c7
Backing out build tag for suggestions per recommendation
...
from @kolyshkin 🙇
2 years ago