Commit Graph

2286 Commits

Author SHA1 Message Date
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>
2022-05-24 15:27:35 +09:00
Mostyn Bramley-Moore
eecfd0046b Fix 'repetetive' typo 2022-05-23 22:05:31 +02:00
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>
2022-05-23 20:42:16 +02:00
595cabc60c
Merge pull request #1403 from urfave/gfmrun-current
Run docs tests against current work tree
2022-05-23 07:50:02 -04:00
8f47e6dc97
Set absolute bash path
and slightly revert assertion in docs test to ensure flag ordering
2022-05-23 07:44:58 -04:00
5edc1b95e8
Run docs tests against current work tree
by creating a temporary go workspace to be used by gfmrun via `TMPDIR`.
2022-05-22 22:18:00 -04:00
24197006ef
Merge pull request #1399 from urfave/docs-pointer
Point to the docs tree and site from top-level README
2022-05-22 11:15:26 -04:00
9de0cd3c4a
Merge pull request #1396 from urfave/suggestion-pluggability
Introduce override hooks for suggestions
2022-05-22 11:14:46 -04:00
9e65b4d085
Merge pull request #1368 from urfave/michaeljs1990-add-flag-category-support
Add flag category support (#796)
2022-05-22 11:14:20 -04:00
4bca72cea1
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support 2022-05-22 11:06:38 -04:00
939ab7f9e7
Merge pull request #1365 from urfave/security-policy-doc
Add a security policy document
2022-05-22 09:53:13 -04:00
60a6bf5866
Merge pull request #1354 from urfave/mostynb-report_source_of_parse_errors
Merging mostynb report source of parse errors
2022-05-22 09:51:53 -04:00
fc27cb08fc
Merge remote-tracking branch 'origin/main' into mostynb-report_source_of_parse_errors 2022-05-22 09:44:39 -04:00
f528cf0a1e
Merge pull request #1350 from urfave/applying-pr1218
Another approach for zsh completion (#1218)
2022-05-22 09:40:38 -04:00
e66017d73a
Refinements to removal of zsh hack 2022-05-22 09:07:03 -04:00
e66ce91db1
Merge remote-tracking branch 'origin/main' into applying-pr1218 2022-05-22 08:53:47 -04:00
a78717f4f9
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support 2022-05-19 07:40:56 -04:00
5c1c2ea35d
Merge pull request #1400 from urfave/docs-publish-debugging
Docs publishing fixes
2022-05-18 23:23:23 -04:00
b3359c3e27
Re-enable workflow conditions 2022-05-18 23:20:47 -04:00
e7f3925a5a
Use correct yaml multiline 🤦 2022-05-18 23:19:10 -04:00
e592640fdb
Unshallow the clone + toc cleanups 2022-05-18 23:17:57 -04:00
5988cc6040
Try running mkdocs steps directly 2022-05-18 23:13:45 -04:00
70e1ed4c9d
Attempt to work around materialx yaml loader boom 2022-05-18 22:58:46 -04:00
522b7e0d92
Use existing secret name in docs publish step 2022-05-18 22:46:36 -04:00
660d25f14d
Un-delete non-redundant docs 2022-05-18 22:37:44 -04:00
4536c8742d
Point to the docs tree and site from top-level README 2022-05-18 22:34:28 -04:00
061250ade5
Use correctly spelled repo name in mkdocs config 2022-05-18 22:30:07 -04:00
5bb9f453dc
Also make the did-you-mean template pluggable 2022-05-17 09:24:17 -04:00
68bd4903fd
Introduce override hooks for suggestions
Related to https://github.com/urfave/cli/pull/1390#discussion_r871398659
2022-05-17 09:02:17 -04:00
e770ee9794
Merge pull request #1390 from urfave/saschagrunert-suggestions
Add suggestions support (#977)
2022-05-17 08:59:47 -04:00
f3cf7640c7
Backing out build tag for suggestions per recommendation
from @kolyshkin 🙇
2022-05-17 08:49:15 -04:00
3c923e7a44
Merge remote-tracking branch 'origin/main' into saschagrunert-suggestions 2022-05-17 08:45:13 -04:00
97a222b471
Merge pull request #1392 from urfave/mkdocs-setup
Mkdocs setup
2022-05-17 08:43:36 -04:00
3f5007dc76
Merge remote-tracking branch 'origin/main' into mkdocs-setup 2022-05-08 21:59:51 -04:00
c468566272
Touching up more mkdocs details 2022-05-08 20:49:08 -04:00
c11460548d
Merge pull request #1393 from urfave/generate-req-viz
Generate RequiredFlag and VisibleFlag implementations
2022-05-08 20:21:34 -04:00
bc9ad9fede
Generate RequiredFlag and VisibleFlag implementations 2022-05-08 13:52:32 -04:00
8da1afc62b
Un-rename manual docs + symlink instead 2022-05-08 11:38:41 -04:00
858ce7ee6d
Initial mkdocs setup
Connected to #1343
2022-05-08 11:36:03 -04:00
9bd6349ed2
Add example app for suggestion in command
and further reduce example output diff potential
2022-05-07 23:06:43 -04:00
34eed95a8e
Reduce amount of text compared in suggest example app 2022-05-07 22:06:39 -04:00
9da2c564f8
Add example app with Suggest support 2022-05-07 20:57:44 -04:00
974f2d410d
Guard suggestion capability (+ dependency) with build tag 2022-05-07 15:21:00 -04:00
63b1a7deee
A few follow-up conflict resolutions 2022-05-07 14:43:15 -04:00
3d67b75be7
Merge branch 'suggestions' of ssh://github.com/saschagrunert/cli into saschagrunert-suggestions 2022-05-07 14:40:04 -04:00
32be625ece
Use google group email addresses 2022-05-07 09:30:42 -04:00
31d60903db
Merge remote-tracking branch 'origin/main' into security-policy-doc 2022-05-07 09:23:36 -04:00
04f5ff0315
Merge branch 'main' into mostynb-report_source_of_parse_errors 2022-05-07 08:57:48 -04:00
6c811a82df
Merge branch 'main' into applying-pr1218 2022-05-07 08:57:31 -04:00
21d435d4d1
Adapt flag generation for flag categories 2022-05-07 08:50:09 -04:00