You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: clap_complete/tests/snapshots/basic.fish
+2-2
Original file line number
Diff line number
Diff line change
@@ -6,5 +6,5 @@ complete -c my-app -n "__fish_use_subcommand" -f -a "help" -d 'Print this messag
6
6
complete-c my-app -n"__fish_seen_subcommand_from test"-s d
7
7
complete-c my-app -n"__fish_seen_subcommand_from test"-s c
8
8
complete-c my-app -n"__fish_seen_subcommand_from test"-s h -lhelp-d'Print help'
9
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test; and not __fish_seen_subcommand_from help"-f-a"test"-d'Subcommand with a second line'
10
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test; and not __fish_seen_subcommand_from help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
9
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test help"-f-a"test"-d'Subcommand with a second line'
10
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
Copy file name to clipboardexpand all lines: clap_complete/tests/snapshots/custom_bin_name.fish
+2-2
Original file line number
Diff line number
Diff line change
@@ -6,5 +6,5 @@ complete -c bin-name -n "__fish_use_subcommand" -f -a "help" -d 'Print this mess
6
6
complete-c bin-name -n"__fish_seen_subcommand_from test"-s d
7
7
complete-c bin-name -n"__fish_seen_subcommand_from test"-s c
8
8
complete-c bin-name -n"__fish_seen_subcommand_from test"-s h -lhelp-d'Print help'
9
-
complete-c bin-name -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test; and not __fish_seen_subcommand_from help"-f-a"test"-d'Subcommand with a second line'
10
-
complete-c bin-name -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test; and not __fish_seen_subcommand_from help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
9
+
complete-c bin-name -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test help"-f-a"test"-d'Subcommand with a second line'
10
+
complete-c bin-name -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
Copy file name to clipboardexpand all lines: clap_complete/tests/snapshots/feature_sample.fish
+2-2
Original file line number
Diff line number
Diff line change
@@ -6,5 +6,5 @@ complete -c my-app -n "__fish_use_subcommand" -f -a "help" -d 'Print this messag
6
6
complete-c my-app -n"__fish_seen_subcommand_from test"-lcase-d'the case to test'-r
7
7
complete-c my-app -n"__fish_seen_subcommand_from test"-s h -lhelp-d'Print help'
8
8
complete-c my-app -n"__fish_seen_subcommand_from test"-s V -l version -d'Print version'
9
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test; and not __fish_seen_subcommand_from help"-f-a"test"-d'tests things'
10
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test; and not __fish_seen_subcommand_from help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
9
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test help"-f-a"test"-d'tests things'
10
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
Copy file name to clipboardexpand all lines: clap_complete/tests/snapshots/quoting.fish
+7-7
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,10 @@ complete -c my-app -n "__fish_seen_subcommand_from cmd-backticks" -s h -l help -
19
19
complete-c my-app -n"__fish_seen_subcommand_from cmd-backslash"-s h -lhelp-d'Print help'
20
20
complete-c my-app -n"__fish_seen_subcommand_from cmd-brackets"-s h -lhelp-d'Print help'
21
21
complete-c my-app -n"__fish_seen_subcommand_from cmd-expansions"-s h -lhelp-d'Print help'
22
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotes; and not __fish_seen_subcommand_from cmd-double-quotes; and not __fish_seen_subcommand_from cmd-backticks; and not __fish_seen_subcommand_from cmd-backslash; and not __fish_seen_subcommand_from cmd-brackets; and not __fish_seen_subcommand_from cmd-expansions; and not __fish_seen_subcommand_from help"-f-a"cmd-single-quotes"-d'Can be \'always\', \'auto\', or \'never\''
23
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotes; and not __fish_seen_subcommand_from cmd-double-quotes; and not __fish_seen_subcommand_from cmd-backticks; and not __fish_seen_subcommand_from cmd-backslash; and not __fish_seen_subcommand_from cmd-brackets; and not __fish_seen_subcommand_from cmd-expansions; and not __fish_seen_subcommand_from help"-f-a"cmd-double-quotes"-d'Can be "always", "auto", or "never"'
24
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotes; and not __fish_seen_subcommand_from cmd-double-quotes; and not __fish_seen_subcommand_from cmd-backticks; and not __fish_seen_subcommand_from cmd-backslash; and not __fish_seen_subcommand_from cmd-brackets; and not __fish_seen_subcommand_from cmd-expansions; and not __fish_seen_subcommand_from help"-f-a"cmd-backticks"-d'For more information see `echo test`'
25
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotes; and not __fish_seen_subcommand_from cmd-double-quotes; and not __fish_seen_subcommand_from cmd-backticks; and not __fish_seen_subcommand_from cmd-backslash; and not __fish_seen_subcommand_from cmd-brackets; and not __fish_seen_subcommand_from cmd-expansions; and not __fish_seen_subcommand_from help"-f-a"cmd-backslash"-d'Avoid \'\\n\''
26
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotes; and not __fish_seen_subcommand_from cmd-double-quotes; and not __fish_seen_subcommand_from cmd-backticks; and not __fish_seen_subcommand_from cmd-backslash; and not __fish_seen_subcommand_from cmd-brackets; and not __fish_seen_subcommand_from cmd-expansions; and not __fish_seen_subcommand_from help"-f-a"cmd-brackets"-d'List packages [filter]'
27
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotes; and not __fish_seen_subcommand_from cmd-double-quotes; and not __fish_seen_subcommand_from cmd-backticks; and not __fish_seen_subcommand_from cmd-backslash; and not __fish_seen_subcommand_from cmd-brackets; and not __fish_seen_subcommand_from cmd-expansions; and not __fish_seen_subcommand_from help"-f-a"cmd-expansions"-d'Execute the shell command with $SHELL'
28
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotes; and not __fish_seen_subcommand_from cmd-double-quotes; and not __fish_seen_subcommand_from cmd-backticks; and not __fish_seen_subcommand_from cmd-backslash; and not __fish_seen_subcommand_from cmd-brackets; and not __fish_seen_subcommand_from cmd-expansions; and not __fish_seen_subcommand_from help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
22
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotescmd-double-quotescmd-backtickscmd-backslashcmd-bracketscmd-expansions help"-f-a"cmd-single-quotes"-d'Can be \'always\', \'auto\', or \'never\''
23
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotescmd-double-quotescmd-backtickscmd-backslashcmd-bracketscmd-expansions help"-f-a"cmd-double-quotes"-d'Can be "always", "auto", or "never"'
24
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotescmd-double-quotescmd-backtickscmd-backslashcmd-bracketscmd-expansions help"-f-a"cmd-backticks"-d'For more information see `echo test`'
25
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotescmd-double-quotescmd-backtickscmd-backslashcmd-bracketscmd-expansions help"-f-a"cmd-backslash"-d'Avoid \'\\n\''
26
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotescmd-double-quotescmd-backtickscmd-backslashcmd-bracketscmd-expansions help"-f-a"cmd-brackets"-d'List packages [filter]'
27
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotescmd-double-quotescmd-backtickscmd-backslashcmd-bracketscmd-expansions help"-f-a"cmd-expansions"-d'Execute the shell command with $SHELL'
28
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from cmd-single-quotescmd-double-quotescmd-backtickscmd-backslashcmd-bracketscmd-expansions help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
complete-c my-app -n"__fish_seen_subcommand_from some-cmd-with-hyphens"-s V -l version -d'Print version'
17
17
complete-c my-app -n"__fish_seen_subcommand_from some-hidden-cmd"-s h -lhelp-d'Print help'
18
18
complete-c my-app -n"__fish_seen_subcommand_from some-hidden-cmd"-s V -l version -d'Print version'
19
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test; and not __fish_seen_subcommand_from some_cmd; and not __fish_seen_subcommand_from some-cmd-with-hyphens; and not __fish_seen_subcommand_from some-hidden-cmd; and not __fish_seen_subcommand_from help"-f-a"test"-d'tests things'
20
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test; and not __fish_seen_subcommand_from some_cmd; and not __fish_seen_subcommand_from some-cmd-with-hyphens; and not __fish_seen_subcommand_from some-hidden-cmd; and not __fish_seen_subcommand_from help"-f-a"some_cmd"-d'tests other things'
21
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test; and not __fish_seen_subcommand_from some_cmd; and not __fish_seen_subcommand_from some-cmd-with-hyphens; and not __fish_seen_subcommand_from some-hidden-cmd; and not __fish_seen_subcommand_from help"-f-a"some-cmd-with-hyphens"
22
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test; and not __fish_seen_subcommand_from some_cmd; and not __fish_seen_subcommand_from some-cmd-with-hyphens; and not __fish_seen_subcommand_from some-hidden-cmd; and not __fish_seen_subcommand_from help"-f-a"some-hidden-cmd"
23
-
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from test; and not __fish_seen_subcommand_from some_cmd; and not __fish_seen_subcommand_from some-cmd-with-hyphens; and not __fish_seen_subcommand_from some-hidden-cmd; and not __fish_seen_subcommand_from help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
19
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from testsome_cmdsome-cmd-with-hyphenssome-hidden-cmd help"-f-a"test"-d'tests things'
20
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from testsome_cmdsome-cmd-with-hyphenssome-hidden-cmd help"-f-a"some_cmd"-d'tests other things'
21
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from testsome_cmdsome-cmd-with-hyphenssome-hidden-cmd help"-f-a"some-cmd-with-hyphens"
22
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from testsome_cmdsome-cmd-with-hyphenssome-hidden-cmd help"-f-a"some-hidden-cmd"
23
+
complete-c my-app -n"__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from testsome_cmdsome-cmd-with-hyphenssome-hidden-cmd help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
0 commit comments