Tim Reddehase
5f46ad3b9b
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-21 18:15:47 -07:00
Tim Reddehase
4f3e5f496b
escape description of commands & flags.
2019-05-21 18:15:47 -07:00
Tim Reddehase
2035fda4de
backport __fish_seen_argument.
2019-05-21 18:15:47 -07:00
Tim Reddehase
9ecb79d309
use fish builtin for flag/argument checking.
2019-05-21 18:15:47 -07:00
Tim Reddehase
0a631b3402
use custom function for checking subcommand path.
2019-05-21 18:15:47 -07:00
Tim Reddehase
b681855d47
remove oly mention.
2019-05-21 18:15:47 -07:00
Tim Reddehase
5697159013
add additional support for argument aliases.
2019-05-21 18:15:47 -07:00
Tim Reddehase
575081ea12
support ValidArgs completion of commands in fish.
2019-05-21 18:15:47 -07:00
Tim Reddehase
bbc741686f
add helpCommand check to fish completions.
2019-05-21 18:15:46 -07:00
Tim Reddehase
8e081ca4ed
add fish completion basics to cobra.
2019-05-21 18:15:46 -07:00