Commit Graph

9 Commits

Author SHA1 Message Date
Dokiy
67f592aadb
Fix HideHelp 2022-10-01 19:17:49 -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
f3cf7640c7
Backing out build tag for suggestions per recommendation
from @kolyshkin 🙇
2022-05-17 08:49:15 -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
Sascha Grunert
002bde2233
Add suggestions support
The new option `app.Suggest` enables command and flag suggestions via
the jaro-winkler distance algorithm. Flags are scoped to their
appropriate commands whereas command suggestions are scoped to the
current command level.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-03-03 13:06:34 +01:00