Commit graph

10 commits

Author SHA1 Message Date
Tim Reddehase
8edc57ef40 allow subcommand_path to match even with flags
With the old version flags between subcommands
weren't allowed (as it was doing exact match).
This solution is still not perfect (as it uses '.+')
and could potentially swallow other subcommands.
2019-05-22 09:46:06 +02:00
Tim Reddehase
01850df9a1 escape description of commands & flags. 2019-05-22 09:46:06 +02:00
Tim Reddehase
157737b787 backport __fish_seen_argument. 2019-05-22 09:46:06 +02:00
Tim Reddehase
5ee6b2337b use fish builtin for flag/argument checking. 2019-05-22 09:46:06 +02:00
Tim Reddehase
80632ad68c use custom function for checking subcommand path. 2019-05-22 09:46:06 +02:00
Tim Reddehase
7d2d55a6d0 remove oly mention. 2019-05-22 09:46:06 +02:00
Tim Reddehase
68363b7740 add additional support for argument aliases. 2019-05-22 09:46:06 +02:00
Tim Reddehase
582ef5667a support ValidArgs completion of commands in fish. 2019-05-22 09:46:06 +02:00
Tim Reddehase
65eca9e4ba add helpCommand check to fish completions. 2019-05-22 09:46:06 +02:00
Tim Reddehase
e949e84978 add fish completion basics to cobra. 2019-05-22 09:46:06 +02:00