main: {"args": ["--input-type=python", "--include-file=include.$shell"], "definition_file": "crazy-complete-test"} when: {"args": ["--input-type=yaml"], "definition_file": "when.yaml"} groups: {"args": ["--input-type=yaml"], "definition_file": "groups.yaml"} combine: {"args": ["--input-type=yaml"], "definition_file": "combine.yaml"} inherit-on: {"args": ["--input-type=yaml", "--inherit-options=True"], "definition_file": "inherit-options.yaml"} inherit-off: {"args": ["--input-type=yaml", "--inherit-options=False"], "definition_file": "inherit-options.yaml"} capture: {"args": ["--input-type=yaml", "--include-file=include.capture.$shell"], "definition_file": "capture.yaml"} choices: {"args": ["--input-type=yaml"], "definition_file": "choices.yaml"} command_arg: {"args": ["--input-type=yaml"], "definition_file": "command_arg.yaml"} filedir: {"args": ["--input-type=yaml"], "definition_file": "filedir.yaml"} wrapper: {"args": ["--input-type=yaml"], "definition_file": "wrapper.yaml"} list: {"args": ["--input-type=yaml"], "definition_file": "list.yaml"} key_value_list: {"args": ["--input-type=yaml", "--include-file=include.key_value_list.$shell"], "definition_file": "key_value_list.yaml"} key_value_pair: {"args": ["--input-type=yaml", "--include-file=include.key_value_pair.$shell"], "definition_file": "key_value_pair.yaml"} key_value_pair_exec: {"args": ["--input-type=yaml", "--include-file=include.key_value_pair_exec.$shell"], "definition_file": "key_value_pair_exec.yaml"} key_value_list_exec: {"args": ["--input-type=yaml", "--include-file=include.key_value_list_exec.$shell"], "definition_file": "key_value_list_exec.yaml"} complex: {"args": ["--input-type=yaml"], "definition_file": "complex.yaml"} long_opt_arg_sep: {"args": ["--input-type=yaml"], "definition_file": "long_opt_arg_sep.yaml"} option_arguments: {"args": ["--input-type=yaml"], "definition_file": "option_arguments.yaml"} --- number: 1 definition_file: "main" description: "No arguments, check if all commands are listed" send: "crazy-complete-test " bash_expected: | > crazy-complete-test alias1 argparse-actions subcommand when alias2 complete test > crazy-complete-test fish_expected: | > crazy-complete-test alias1 (For testing the completer) alias2 (For testing the completer) argparse-actions (argparse tool actions) complete (Test complete commands) subcommand (Test nested subcommands) test (For testing the completer) when (Test the "when"-feature) zsh_expected: | > crazy-complete-test alias2 alias1 test -- For testing the completer argparse-actions -- argparse tool actions complete -- Test complete commands subcommand -- Test nested subcommands when -- Test the "when"-feature --- number: 2 definition_file: "main" description: "Check if subcommand is completed" send: "crazy-complete-test t" bash_expected: | > crazy-complete-test test fish_expected: | > crazy-complete-test test zsh_expected: | > crazy-complete-test test --- number: 3 definition_file: "main" description: "Check if all options are listed" send: "crazy-complete-test test -" bash_expected: | > crazy-complete-test test - --arg= --special-chars-in-description= --exclusive-1 -A --exclusive-2 -F --flag -O --help -arg= --optional= -flag --repeatable-arg= -h --repeatable-flag -optional= > crazy-complete-test test - fish_expected: | > crazy-complete-test test - -A -arg --arg (Option with arg) -F -flag --flag (A option flag) -h --help (show this help message and exit) -O -optional --optional --optional= (Option with optional arg) --exclusive-1 --exclusive-2 --repeatable-arg --repeatable-flag --special-chars-in-description (Here are some special chars: $"'\[]*`)) zsh_expected: | > crazy-complete-test test - --exclusive-1 --exclusive-2 --repeatable-arg --repeatable-flag --arg -arg -A -- Option with arg --flag -flag -F -- A option flag --help -h -- show this help message and exit --optional -optional -O -- Option with optional arg --special-chars-in-description -- Here are some special chars: $"'\[]*`) --- number: 4 definition_file: "main" description: "Check long option with argument (with space)" send: "crazy-complete-test test --arg " bash_expected: | > crazy-complete-test test --arg 1 2 3 > crazy-complete-test test --arg fish_expected: | > crazy-complete-test test --arg 1 (Option with arg) 2 (Option with arg) 3 (Option with arg) zsh_expected: | > crazy-complete-test test --arg 1 2 3 --- number: 5 definition_file: "main" description: "Check long option with argument (with equal sign)" send: "crazy-complete-test test --arg=" bash_expected: | > crazy-complete-test test --arg= 1 2 3 > crazy-complete-test test --arg= fish_expected: | > crazy-complete-test test --arg= --arg=1 (Option with arg) --arg=3 (Option with arg) --arg=2 (Option with arg) zsh_expected: | > crazy-complete-test test --arg= 1 2 3 --- number: 6 definition_file: "main" description: "Check short option with argument (without space)" send: "crazy-complete-test test -A" bash_expected: | > crazy-complete-test test -A -A1 -A2 -A3 > crazy-complete-test test -A fish_expected: | > crazy-complete-test test -A -A1 (Option with arg) -A2 (Option with arg) -A3 (Option with arg) zsh_expected: | > crazy-complete-test test -A 1 2 3 --- number: 7 definition_file: "main" description: "Check short option with argument (with space)" send: "crazy-complete-test test -A " bash_expected: | > crazy-complete-test test -A 1 2 3 > crazy-complete-test test -A fish_expected: | > crazy-complete-test test -A 1 (Option with arg) 2 (Option with arg) 3 (Option with arg) zsh_expected: | > crazy-complete-test test -A 1 2 3 --- number: 8 definition_file: "main" description: "Check old-style option with argument (with space)" send: "crazy-complete-test test -arg " bash_expected: | > crazy-complete-test test -arg 1 2 3 > crazy-complete-test test -arg fish_expected: | > crazy-complete-test test -arg 1 (Option with arg) 2 (Option with arg) 3 (Option with arg) zsh_expected: | > crazy-complete-test test -arg 1 2 3 --- number: 9 definition_file: "main" description: "Check old-style option with argument (with equal sign)" send: "crazy-complete-test test -arg=" bash_expected: | > crazy-complete-test test -arg= 1 2 3 > crazy-complete-test test -arg= fish_expected: | > crazy-complete-test test -arg= -arg=1 (Option with arg) -arg=2 (Option with arg) -arg=3 (Option with arg) zsh_expected: | > crazy-complete-test test -arg= 1 2 3 --- number: 10 definition_file: "main" description: "Check long option with optional argument" send: "crazy-complete-test test --optional=" bash_expected: | > crazy-complete-test test --optional= 1 2 3 > crazy-complete-test test --optional= fish_expected: | > crazy-complete-test test --optional= …optional=1 (Option with optional arg) …optional=3 (Option with optional arg) …optional=2 (Option with optional arg) zsh_expected: | > crazy-complete-test test --optional= 1 2 3 --- number: 11 definition_file: "main" description: "Check short option with optional argument" comment: "FISH has a slightly wrong output" send: "crazy-complete-test test -O" bash_expected: | > crazy-complete-test test -O -O1 -O2 -O3 > crazy-complete-test test -O fish_expected: | > crazy-complete-test test -O -O1 (Option with optional arg) -OA (Option with arg) -O2 (Option with optional arg) -OF (A option flag) -O3 (Option with optional arg) -Oh (show this help message and exit) zsh_expected: | > crazy-complete-test test -O 1 2 3 --- number: 12 definition_file: "main" description: "Check old-style option with optional argument" send: "crazy-complete-test test -optional=" bash_expected: | > crazy-complete-test test -optional= 1 2 3 > crazy-complete-test test -optional= fish_expected: | > crazy-complete-test test -optional= …optional=1 (Option with optional arg) …optional=3 (Option with optional arg) …optional=2 (Option with optional arg) zsh_expected: | > crazy-complete-test test -optional= 1 2 3 --- number: 13 definition_file: "main" description: "Check if mutually exclusive options work" send: "crazy-complete-test test --exclusive-1 --exclusive" bash_expected: | > crazy-complete-test test --exclusive-1 --exclusive fish_expected: | > crazy-complete-test test --exclusive-1 --exclusive zsh_expected: | > crazy-complete-test test --exclusive-1 --exclusive --- number: 14 definition_file: "main" description: "Check if repeatable options work" send: "crazy-complete-test test --repeatable-flag --repeatable-" bash_expected: | > crazy-complete-test test --repeatable-flag --repeatable- --repeatable-arg= --repeatable-flag > crazy-complete-test test --repeatable-flag --repeatable- fish_expected: | > crazy-complete-test test --repeatable-flag --repeatable- …peatable-arg …peatable-flag zsh_expected: | > crazy-complete-test test --repeatable-flag --repeatable- --repeatable-arg --repeatable-flag --- number: 15 definition_file: "main" description: "Check if final options work" send: "crazy-complete-test test --help -" bash_expected: | > crazy-complete-test test --help - fish_expected: | > crazy-complete-test test --help - zsh_expected: | > crazy-complete-test test --help - --- number: 16 definition_file: "main" description: "Check if hidden options work (short option) #1" send: "crazy-complete-test test -H" bash_expected: | > crazy-complete-test test -H -H1 -H2 -H3 > crazy-complete-test test -H fish_expected: | > crazy-complete-test test -H -H1 -H2 -H3 zsh_expected: | > crazy-complete-test test -H 1 2 3 --- number: 17 definition_file: "main" description: "Check if hidden options work (short option) #2" send: "crazy-complete-test test -H " bash_expected: | > crazy-complete-test test -H 1 2 3 > crazy-complete-test test -H fish_expected: | > crazy-complete-test test -H 1 2 3 zsh_expected: | > crazy-complete-test test -H 1 2 3 --- number: 18 definition_file: "main" description: "Check if hidden options work (short option, stacked) #1" send: "crazy-complete-test test -FH" bash_expected: | > crazy-complete-test test -FH -FH1 -FH2 -FH3 > crazy-complete-test test -FH fish_expected: | > crazy-complete-test test -FH -FH1 -FH2 -FH3 zsh_expected: | > crazy-complete-test test -FH 1 2 3 --- number: 19 definition_file: "main" description: "Check if hidden options work (short option, stacked) #2" send: "crazy-complete-test test -FH " bash_expected: | > crazy-complete-test test -FH 1 2 3 > crazy-complete-test test -FH fish_expected: | > crazy-complete-test test -FH 1 2 3 zsh_expected: | > crazy-complete-test test -FH 1 2 3 --- number: 20 definition_file: "main" description: "Check if hidden options work (long option) #1" send: "crazy-complete-test test --hidden " bash_expected: | > crazy-complete-test test --hidden 1 2 3 > crazy-complete-test test --hidden fish_expected: | > crazy-complete-test test --hidden 1 2 3 zsh_expected: | > crazy-complete-test test --hidden 1 2 3 --- number: 21 definition_file: "main" description: "Check if hidden options work (long option) #2" send: "crazy-complete-test test --hidden=" bash_expected: | > crazy-complete-test test --hidden= 1 2 3 > crazy-complete-test test --hidden= fish_expected: | > crazy-complete-test test --hidden= --hidden=1 --hidden=2 --hidden=3 zsh_expected: | > crazy-complete-test test --hidden= 1 2 3 --- number: 22 definition_file: "main" description: "Check if hidden options work (old option) #1" send: "crazy-complete-test test -hidden " bash_expected: | > crazy-complete-test test -hidden 1 2 3 > crazy-complete-test test -hidden fish_expected: | > crazy-complete-test test -hidden 1 2 3 zsh_expected: | > crazy-complete-test test -hidden 1 2 3 --- number: 23 definition_file: "main" description: "Check if hidden options work (old option) #2" send: "crazy-complete-test test -hidden=" bash_expected: | > crazy-complete-test test -hidden= 1 2 3 > crazy-complete-test test -hidden= fish_expected: | > crazy-complete-test test -hidden= -hidden=1 -hidden=2 -hidden=3 zsh_expected: | > crazy-complete-test test -hidden= 1 2 3 --- number: 24 definition_file: "main" description: "Check option stacking" comment: "Does not work for BASH yet" send: "crazy-complete-test test -F" bash_expected: | > crazy-complete-test test -F fish_expected: | > crazy-complete-test test -F -FA (Option with arg) -FO (Option with optional arg) -Fh (show this help message and exit) zsh_expected: | > crazy-complete-test test -F -A -- Option with arg -O -- Option with optional arg -h -- show this help message and exit --- number: 25 definition_file: "main" description: "Check option stacking (with required argument and no space)" send: "crazy-complete-test test -FA" bash_expected: | > crazy-complete-test test -FA -FA1 -FA2 -FA3 > crazy-complete-test test -FA fish_expected: | > crazy-complete-test test -FA -FA1 (Option with arg) -FA2 (Option with arg) -FA3 (Option with arg) zsh_expected: | > crazy-complete-test test -FA 1 2 3 --- number: 26 definition_file: "main" description: "Check option stacking (with required argument and space)" send: "crazy-complete-test test -FA " bash_expected: | > crazy-complete-test test -FA 1 2 3 > crazy-complete-test test -FA fish_expected: | > crazy-complete-test test -FA 1 (Option with arg) 2 (Option with arg) 3 (Option with arg) zsh_expected: | > crazy-complete-test test -FA 1 2 3 --- number: 27 definition_file: "main" description: "Check option stacking (with optional argument)" comment: "FISH produces a bit of a wrong output" send: "crazy-complete-test test -FO" bash_expected: | > crazy-complete-test test -FO -FO1 -FO2 -FO3 > crazy-complete-test test -FO fish_expected: | > crazy-complete-test test -FO -FO1 (Option with optional arg) -FOA (Option with arg) -FO2 (Option with optional arg) -FOh (show this help message and exit) -FO3 (Option with optional arg) zsh_expected: | > crazy-complete-test test -FO 1 2 3 --- number: 28 definition_file: "main" description: "when: Check if none of --if-* options are listed" send: "crazy-complete-test when -" bash_expected: | > crazy-complete-test when - --help --var= -V -optional= --optional= -O -h -var= > crazy-complete-test when - fish_expected: | > crazy-complete-test when - -h --help (show this help message and exit) -O -optional -V -var --optional --var (Conditional variable) zsh_expected: | > crazy-complete-test when - --help -h -- show this help message and exit --optional --var -var -O -V -optional -- Conditional variable --- number: 29 definition_file: "main" description: "when: Check if --if-var appears (with --var)" send: "crazy-complete-test when --var value --if-" bash_expected: | > crazy-complete-test when --var value --if-var= fish_expected: | > crazy-complete-test when --var value --if-var zsh_expected: | > crazy-complete-test when --var value --if-var= --- number: 30 definition_file: "main" description: "when: Check if --if-var appears (with -V)" send: "crazy-complete-test when -V value --if-" bash_expected: | > crazy-complete-test when -V value --if-var= fish_expected: | > crazy-complete-test when -V value --if-var zsh_expected: | > crazy-complete-test when -V value --if-var= --- number: 31 definition_file: "main" description: "when: Check if --if-var appears (with -var)" send: "crazy-complete-test when -var value --if-" bash_expected: | > crazy-complete-test when -var value --if-var= fish_expected: | > crazy-complete-test when -var value --if-var zsh_expected: | > crazy-complete-test when -var value --if-var= --- number: 32 definition_file: "main" description: "when: Check if --if-var and --if-var-is-foo appears (with -V foo)" send: "crazy-complete-test when -V foo --if-" bash_expected: | > crazy-complete-test when -V foo --if- --if-var-is-foo= --if-var= > crazy-complete-test when -V foo --if-var fish_expected: | > crazy-complete-test when -V foo --if-var --if-var (Only show option if --var is given) --if-var-is-foo (Only show option if --var is foo or bar) zsh_tabs: 2 zsh_expected: | > crazy-complete-test when -V foo --if-var --if-var -- Only show option if --var is given --if-var-is-foo -- Only show option if --var is foo or bar --- number: 33 definition_file: "main" description: "when: Check if --if-var and --if-var-is-foo appears (with -Vfoo)" send: "crazy-complete-test when -Vfoo --if-" bash_expected: | > crazy-complete-test when -Vfoo --if- --if-var-is-foo= --if-var= > crazy-complete-test when -Vfoo --if-var fish_expected: | > crazy-complete-test when -Vfoo --if-var --if-var (Only show option if --var is given) --if-var-is-foo (Only show option if --var is foo or bar) zsh_tabs: 2 zsh_expected: | > crazy-complete-test when -Vfoo --if-var --if-var -- Only show option if --var is given --if-var-is-foo -- Only show option if --var is foo or bar --- number: 34 definition_file: "main" description: "when: Check if --if-var and --if-var-is-foo appears (with --var foo)" send: "crazy-complete-test when --var foo --if-" bash_expected: | > crazy-complete-test when --var foo --if- --if-var-is-foo= --if-var= > crazy-complete-test when --var foo --if-var fish_expected: | > crazy-complete-test when --var foo --if-var --if-var (Only show option if --var is given) --if-var-is-foo (Only show option if --var is foo or bar) zsh_tabs: 2 zsh_expected: | > crazy-complete-test when --var foo --if-var --if-var -- Only show option if --var is given --if-var-is-foo -- Only show option if --var is foo or bar --- number: 35 definition_file: "main" description: "when: Check if --if-var and --if-var-is-foo appears (with --var=foo)" send: "crazy-complete-test when --var=foo --if-" bash_expected: | > crazy-complete-test when --var=foo --if- --if-var-is-foo= --if-var= > crazy-complete-test when --var=foo --if-var fish_expected: | > crazy-complete-test when --var=foo --if-var --if-var (Only show option if --var is given) --if-var-is-foo (Only show option if --var is foo or bar) zsh_tabs: 2 zsh_expected: | > crazy-complete-test when --var=foo --if-var --if-var -- Only show option if --var is given --if-var-is-foo -- Only show option if --var is foo or bar --- number: 36 definition_file: "main" description: "when: Check if --if-var and --if-var-is-foo appears (with -var foo)" send: "crazy-complete-test when -var foo --if-" bash_expected: | > crazy-complete-test when -var foo --if- --if-var-is-foo= --if-var= > crazy-complete-test when -var foo --if-var fish_expected: | > crazy-complete-test when -var foo --if-var --if-var (Only show option if --var is given) --if-var-is-foo (Only show option if --var is foo or bar) zsh_tabs: 2 zsh_expected: | > crazy-complete-test when -var foo --if-var --if-var -- Only show option if --var is given --if-var-is-foo -- Only show option if --var is foo or bar --- number: 37 definition_file: "main" description: "when: Check if --if-var and --if-var-is-foo appears (with -var=foo)" send: "crazy-complete-test when -var=foo --if-" bash_expected: | > crazy-complete-test when -var=foo --if- --if-var-is-foo= --if-var= > crazy-complete-test when -var=foo --if-var fish_expected: | > crazy-complete-test when -var=foo --if-var --if-var (Only show option if --var is given) --if-var-is-foo (Only show option if --var is foo or bar) zsh_tabs: 2 zsh_expected: | > crazy-complete-test when -var=foo --if-var --if-var -- Only show option if --var is given --if-var-is-foo -- Only show option if --var is foo or bar --- number: 38 definition_file: "main" description: "when: Check if --if-var and --if-var-is-foo appears (with --var bar)" send: "crazy-complete-test when --var bar --if-" bash_expected: | > crazy-complete-test when --var bar --if- --if-var-is-foo= --if-var= > crazy-complete-test when --var bar --if-var fish_expected: | > crazy-complete-test when --var bar --if-var --if-var (Only show option if --var is given) --if-var-is-foo (Only show option if --var is foo or bar) zsh_tabs: 2 zsh_expected: | > crazy-complete-test when --var bar --if-var --if-var -- Only show option if --var is given --if-var-is-foo -- Only show option if --var is foo or bar --- number: 39 definition_file: "main" description: "when: Check if --if-optional appears (with -O)" send: "crazy-complete-test when -O --if-" bash_expected: | > crazy-complete-test when -O --if-optional= fish_expected: | > crazy-complete-test when -O --if-optional zsh_expected: | > crazy-complete-test when -O --if-optional= --- number: 40 definition_file: "main" description: "when: Check if --if-optional appears (with --optional)" send: "crazy-complete-test when --optional --if-" bash_expected: | > crazy-complete-test when --optional --if-optional= fish_expected: | > crazy-complete-test when --optional --if-optional zsh_expected: | > crazy-complete-test when --optional --if-optional= --- number: 41 definition_file: "main" description: "when: Check if --if-optional appears (with -optional)" send: "crazy-complete-test when -optional --if-" bash_expected: | > crazy-complete-test when -optional --if-optional= fish_expected: | > crazy-complete-test when -optional --if-optional zsh_expected: | > crazy-complete-test when -optional --if-optional= --- number: 42 definition_file: "main" description: "when: Check if --if-optional and --if-optional-is-foo appears (with -Ofoo)" send: "crazy-complete-test when -Ofoo --if-" bash_expected: | > crazy-complete-test when -Ofoo --if- --if-optional-is-foo= --if-optional= > crazy-complete-test when -Ofoo --if-optional fish_expected: | > crazy-complete-test when -Ofoo --if-optional …-optional (Only show option if --optional is given) …-optional-is-foo (Only show option if --optional is foo) zsh_tabs: 2 zsh_expected: | > crazy-complete-test when -Ofoo --if-optional --if-optional -- Only show option if --optional is given --if-optional-is-foo -- Only show option if --optional is foo --- number: 43 definition_file: "main" description: "when: Check if --if-optional and --if-optional-is-foo appears (with --optional=foo)" send: "crazy-complete-test when --optional=foo --if-" bash_expected: | > crazy-complete-test when --optional=foo --if- --if-optional-is-foo= --if-optional= > crazy-complete-test when --optional=foo --if-optional fish_expected: | > crazy-complete-test when --optional=foo --if-optional …-optional (Only show option if --optional is given) …-optional-is-foo (Only show option if --optional is foo) zsh_tabs: 2 zsh_expected: | > crazy-complete-test when --optional=foo --if-optional --if-optional -- Only show option if --optional is given --if-optional-is-foo -- Only show option if --optional is foo --- number: 44 definition_file: "main" description: "when: Check if --if-optional and --if-optional-is-foo appears (with -optional=foo)" send: "crazy-complete-test when -optional=foo --if-" bash_expected: | > crazy-complete-test when -optional=foo --if- --if-optional-is-foo= --if-optional= > crazy-complete-test when -optional=foo --if-optional fish_expected: | > crazy-complete-test when -optional=foo --if-optional …-optional (Only show option if --optional is given) …-optional-is-foo (Only show option if --optional is foo) zsh_tabs: 2 zsh_expected: | > crazy-complete-test when -optional=foo --if-optional --if-optional -- Only show option if --optional is given --if-optional-is-foo -- Only show option if --optional is foo --- number: 45 definition_file: "main" description: "complete: Check --exec" send: "crazy-complete-test complete --exec " bash_expected: | > crazy-complete-test complete --exec Item\ 1 Item\ 2 > crazy-complete-test complete --exec Item\ fish_expected: | > crazy-complete-test complete --exec Item\ Item 1 (Description 1) Item 2 (Description 2) zsh_expected: | > crazy-complete-test complete --exec Item\ --- number: 46 definition_file: "main" description: "complete: Check --exec-fast" send: "crazy-complete-test complete --exec-fast " bash_expected: | > crazy-complete-test complete --exec-fast Item_1 Item_2 > crazy-complete-test complete --exec-fast Item_ fish_expected: | > crazy-complete-test complete --exec-fast Item_ Item_1 (Description 1) Item_2 (Description 2) zsh_expected: | > crazy-complete-test complete --exec-fast Item_ --- number: 47 definition_file: "main" description: "complete: Check --exec-internal" send: "crazy-complete-test complete --exec-internal " bash_expected: | > crazy-complete-test complete --exec-internal one three two > crazy-complete-test complete --exec-internal fish_expected: | > crazy-complete-test complete --exec-internal one (Execute internal code) two (Execute internal code) three (Execute internal code) zsh_expected: | > crazy-complete-test complete --exec-internal one three two --- number: 48 definition_file: "main" description: "complete: Check --choices" send: "crazy-complete-test complete --choices " bash_expected: | > crazy-complete-test complete --choices 1 2 foo:bar > crazy-complete-test complete --choices fish_expected: | > crazy-complete-test complete --choices 1 (one) 2 (two) foo:bar (Description for foo:bar) zsh_expected: | > crazy-complete-test complete --choices 1 -- one 2 -- two foo:bar -- Description for foo:bar --- number: 49 definition_file: "main" description: "complete: Check --value-list #1" send: "crazy-complete-test complete --value-list " bash_expected: | > crazy-complete-test complete --value-list bar baz foo > crazy-complete-test complete --value-list fish_expected: | > crazy-complete-test complete --value-list bar (Complete a list) baz (Complete a list) foo (Complete a list) zsh_expected: | > crazy-complete-test complete --value-list bar baz foo --- number: 50 definition_file: "main" description: "complete: Check --value-list #2" send: "crazy-complete-test complete --value-list f" bash_expected: | > crazy-complete-test complete --value-list foo fish_expected: | > crazy-complete-test complete --value-list foo zsh_expected: | > crazy-complete-test complete --value-list foo, --- number: 51 definition_file: "main" description: "complete: Check --value-list #3" send: "crazy-complete-test complete --value-list foo" bash_expected: | > crazy-complete-test complete --value-list foo, fish_expected: | > crazy-complete-test complete --value-list foo zsh_expected: | > crazy-complete-test complete --value-list foo, --- number: 52 definition_file: "main" description: "complete: Check --value-list #4" send: "crazy-complete-test complete --value-list foo,baz," bash_expected: | > crazy-complete-test complete --value-list foo,baz,bar fish_expected: | > crazy-complete-test complete --value-list foo,baz,bar zsh_expected: | > crazy-complete-test complete --value-list foo,baz,bar, --- number: 53 definition_file: "main" description: "complete: Check --value-list-2" send: "crazy-complete-test complete --value-list-2 " bash_expected: | > crazy-complete-test complete --value-list-2 bar foo > crazy-complete-test complete --value-list-2 fish_expected: | > crazy-complete-test complete --value-list-2 bar (Some bar) foo (Some foo) zsh_expected: | > crazy-complete-test complete --value-list-2 bar -- Some bar foo -- Some foo --- number: 54 definition_file: "main" description: "complete: Check --range-1" send: "crazy-complete-test complete --range-1 " bash_expected: | > crazy-complete-test complete --range-1 1 2 3 4 5 6 7 8 9 > crazy-complete-test complete --range-1 fish_expected: | > crazy-complete-test complete --range-1 1 (Complete a range) 4 (Complete a range) 7 (Complete a range) 2 (Complete a range) 5 (Complete a range) 8 (Complete a range) 3 (Complete a range) 6 (Complete a range) 9 (Complete a range) zsh_expected: | > crazy-complete-test complete --range-1 1 2 3 4 5 6 7 8 9 --- number: 55 definition_file: "main" description: "complete: Check --range-2" send: "crazy-complete-test complete --range-2 " bash_expected: | > crazy-complete-test complete --range-2 1 3 5 7 9 > crazy-complete-test complete --range-2 fish_expected: | > crazy-complete-test complete --range-2 1 (Complete a range) 5 (Complete a range) 9 (Complete a range) 3 (Complete a range) 7 (Complete a range) zsh_expected: | > crazy-complete-test complete --range-2 1 3 5 7 9 --- number: 56 definition_file: "main" description: "Check if positionals are working (1st positional)" send: "crazy-complete-test test " bash_expected: | > crazy-complete-test test first1 first2 first3 > crazy-complete-test test first fish_expected: | > crazy-complete-test test first first1 (First positional) first3 (First positional) first2 (First positional) zsh_expected: | > crazy-complete-test test first --- number: 57 definition_file: "main" description: "Check if positionals are working (2nd positional)" send: "crazy-complete-test test first1 " bash_expected: | > crazy-complete-test test first1 second1 second2 > crazy-complete-test test first1 second fish_expected: | > crazy-complete-test test first1 second second1 (Second positional) second2 (Second positional) zsh_expected: | > crazy-complete-test test first1 second --- number: 58 definition_file: "main" description: "Check if positionals are working (3rd positional)" send: "crazy-complete-test test first1 second1 " bash_expected: | > crazy-complete-test test first1 second1 repeated1 repeated2 > crazy-complete-test test first1 second1 repeated fish_expected: | > crazy-complete-test test first1 second1 repeated repeated1 (Repeated positional) repeated2 (Repeated positional) zsh_expected: | > crazy-complete-test test first1 second1 repeated --- number: 59 definition_file: "main" description: "Check if positionals are working (repeated positional)" send: "crazy-complete-test test first1 second1 repeated1 " bash_expected: | > crazy-complete-test test first1 second1 repeated1 repeated1 repeated2 > crazy-complete-test test first1 second1 repeated1 repeated fish_expected: | > crazy-complete-test test first1 second1 repeated1 repeated repeated1 (Repeated positional) repeated2 (Repeated positional) zsh_expected: | > crazy-complete-test test first1 second1 repeated1 repeated --- number: 60 definition_file: "main" description: "Check if aliases are working (alias1)" send: "crazy-complete-test alias1 --arg " bash_expected: | > crazy-complete-test alias1 --arg 1 2 3 > crazy-complete-test alias1 --arg fish_expected: | > crazy-complete-test alias1 --arg 1 (Option with arg) 2 (Option with arg) 3 (Option with arg) zsh_expected: | > crazy-complete-test alias1 --arg 1 2 3 --- number: 61 definition_file: "main" description: "Check if aliases are working (alias2)" send: "crazy-complete-test alias2 --arg " bash_expected: | > crazy-complete-test alias2 --arg 1 2 3 > crazy-complete-test alias2 --arg fish_expected: | > crazy-complete-test alias2 --arg 1 (Option with arg) 2 (Option with arg) 3 (Option with arg) zsh_expected: | > crazy-complete-test alias2 --arg 1 2 3 --- number: 62 definition_file: "when" description: "Check multiple-when --complete with --files" send: "crazy-complete-test multiple-when --files --complete " bash_expected: | > crazy-complete-test multiple-when --files --complete file1 file2 file3 > crazy-complete-test multiple-when --files --complete file fish_expected: | > crazy-complete-test multiple-when --files --complete file file1 file2 file3 zsh_expected: | > crazy-complete-test multiple-when --files --complete file --- number: 63 definition_file: "when" description: "Check multiple-when --complete with --directories" send: "crazy-complete-test multiple-when --directories --complete " bash_expected: | > crazy-complete-test multiple-when --directories --complete dir1 dir2 dir3 > crazy-complete-test multiple-when --directories --complete dir fish_expected: | > crazy-complete-test multiple-when --directories --complete dir dir1 dir2 dir3 zsh_expected: | > crazy-complete-test multiple-when --directories --complete dir --- number: 64 definition_file: "when" description: "Check multiple-when positional with --files" send: "crazy-complete-test multiple-when --files " bash_expected: | > crazy-complete-test multiple-when --files file1 file2 file3 > crazy-complete-test multiple-when --files file fish_expected: | > crazy-complete-test multiple-when --files file file1 file2 file3 zsh_expected: | > crazy-complete-test multiple-when --files file --- number: 65 definition_file: "when" description: "Check multiple-when positional with --directories" send: "crazy-complete-test multiple-when --directories " bash_expected: | > crazy-complete-test multiple-when --directories dir1 dir2 dir3 > crazy-complete-test multiple-when --directories dir fish_expected: | > crazy-complete-test multiple-when --directories dir dir1 dir2 dir3 zsh_expected: | > crazy-complete-test multiple-when --directories dir --- number: 66 definition_file: "when" description: "Check positional_count (1)" send: "crazy-complete-test positionals --" bash_expected: | > crazy-complete-test positionals -- fish_expected: | > crazy-complete-test positionals -- zsh_expected: | > crazy-complete-test positionals -- --- number: 67 definition_file: "when" description: "Check positional_count (2)" send: "crazy-complete-test positionals arg --" bash_expected: | > crazy-complete-test positionals arg --if-positional-count fish_expected: | > crazy-complete-test positionals arg --if-positional-count zsh_expected: | > crazy-complete-test positionals arg --if-positional-count --- number: 68 definition_file: "when" description: "Check positional_contains" send: "crazy-complete-test positionals foo --" bash_expected: | > crazy-complete-test positionals foo -- --if-positional-contains --if-positional-count --if-positional-contains-nocase > crazy-complete-test positionals foo --if-positional-co fish_expected: | > crazy-complete-test positionals foo --if-positional-co …tional-contains …tional-contains-nocase …tional-count zsh_expected: | > crazy-complete-test positionals foo --if-positional-co --- number: 69 definition_file: "groups" description: "Check -A" send: "crazy-complete-test -A -" bash_expected: | > crazy-complete-test -A -C fish_expected: | > crazy-complete-test -A -C zsh_expected: | > crazy-complete-test -A -C --- number: 70 definition_file: "groups" description: "Check -B" send: "crazy-complete-test -B -" bash_expected: | > crazy-complete-test -B - fish_expected: | > crazy-complete-test -B - zsh_expected: | > crazy-complete-test -B - --- number: 71 definition_file: "groups" description: "Check -C" send: "crazy-complete-test -C -" bash_expected: | > crazy-complete-test -C -A fish_expected: | > crazy-complete-test -C -A zsh_expected: | > crazy-complete-test -C -A --- number: 72 definition_file: "combine" description: "Check combine" send: "crazy-complete-test -o " bash_expected: | > crazy-complete-test -o 0 1 2 3 4 5 6 7 > crazy-complete-test -o fish_expected: | > crazy-complete-test -o 0 2 4 6 (six) 1 3 5 7 (seven) zsh_expected: | > crazy-complete-test -o 6 -- six 7 -- seven 2 3 0 1 4 5 --- number: 73 definition_file: "inherit-off" description: "Check if options are not inherited" send: "crazy-complete-test subcommand --" bash_expected: | > crazy-complete-test subcommand --sub-bar= fish_expected: | > crazy-complete-test subcommand --sub-bar zsh_expected: | > crazy-complete-test subcommand --sub-bar= --- number: 74 definition_file: "inherit-off" description: "Check if options are not inherited (2)" send: "crazy-complete-test subcommand lastcommand --" bash_expected: | > crazy-complete-test subcommand lastcommand --last-option= fish_expected: | > crazy-complete-test subcommand lastcommand --last-option zsh_expected: | > crazy-complete-test subcommand lastcommand --last-option= --- number: 75 definition_file: "inherit-on" description: "Check if options are inherited" send: "crazy-complete-test subcommand --" bash_expected: | > crazy-complete-test subcommand -- --option= --sub-bar= > crazy-complete-test subcommand -- fish_expected: | > crazy-complete-test subcommand -- --option --sub-bar zsh_expected: | > crazy-complete-test subcommand -- --option --sub-bar --- number: 76 definition_file: "inherit-on" description: "Check if options are inherited (2)" send: "crazy-complete-test subcommand lastcommand --" bash_expected: | > crazy-complete-test subcommand lastcommand -- --last-option= --option= --sub-bar= > crazy-complete-test subcommand lastcommand -- fish_expected: | > crazy-complete-test subcommand lastcommand -- --last-option --option --sub-bar zsh_expected: | > crazy-complete-test subcommand lastcommand -- --last-option --option --sub-bar --- number: 77 definition_file: "capture" description: "Check if capture works (1)" send: "crazy-complete-test --database mysql -t " bash_expected: | > crazy-complete-test --database mysql -t orders products users > crazy-complete-test --database mysql -t fish_expected: | > crazy-complete-test --database mysql -t orders products users zsh_expected: | > crazy-complete-test --database mysql -t orders products users --- number: 78 definition_file: "capture" description: "Check if capture works (2)" send: "crazy-complete-test --database postgres -t " bash_expected: | > crazy-complete-test --database postgres -t customers invoices transactions > crazy-complete-test --database postgres -t fish_expected: | > crazy-complete-test --database postgres -t customers invoices transactions zsh_expected: | > crazy-complete-test --database postgres -t customers invoices transactions --- number: 79 definition_file: "choices" description: "Check choices list (short)" send: "crazy-complete-test --choices-list-short " bash_expected: | > crazy-complete-test --choices-list-short a b c > crazy-complete-test --choices-list-short fish_expected: | > crazy-complete-test --choices-list-short a b c zsh_expected: | > crazy-complete-test --choices-list-short a b c --- number: 80 definition_file: "choices" description: "Check choices list (short) (colon)" send: "crazy-complete-test --choices-list-short-colon " bash_expected: | > crazy-complete-test --choices-list-short-colon a:a b:b c:c > crazy-complete-test --choices-list-short-colon fish_expected: | > crazy-complete-test --choices-list-short-colon a:a b:b c:c zsh_expected: | > crazy-complete-test --choices-list-short-colon a:a b:b c:c --- number: 81 definition_file: "choices" description: "Check choices list (long)" send: "crazy-complete-test --choices-list-long " bash_expected: | > crazy-complete-test --choices-list-long aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ccccccccccccccccccccccccccccccccccccccccc ddddddddddddddddddddddddddddddddddddddddd eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee fffffffffffffffffffffffffffffffffffffffff > crazy-complete-test --choices-list-long fish_expected: | > crazy-complete-test --choices-list-long aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ccccccccccccccccccccccccccccccccccccccccc ddddddddddddddddddddddddddddddddddddddddd eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee fffffffffffffffffffffffffffffffffffffffff zsh_expected: | > crazy-complete-test --choices-list-long aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ccccccccccccccccccccccccccccccccccccccccc ddddddddddddddddddddddddddddddddddddddddd eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee fffffffffffffffffffffffffffffffffffffffff --- number: 82 definition_file: "choices" description: "Check choices list (long) (colon)" send: "crazy-complete-test --choices-list-long-colon " bash_expected: | > crazy-complete-test --choices-list-long-colon a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f > crazy-complete-test --choices-list-long-colon fish_expected: | > crazy-complete-test --choices-list-long-colon a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f zsh_expected: | > crazy-complete-test --choices-list-long-colon a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f --- number: 83 definition_file: "choices" description: "Check choices dict (short)" send: "crazy-complete-test --choices-dict-short " bash_expected: | > crazy-complete-test --choices-dict-short a b > crazy-complete-test --choices-dict-short fish_expected: | > crazy-complete-test --choices-dict-short a (letter a) b (letter b) zsh_expected: | > crazy-complete-test --choices-dict-short a -- letter a b -- letter b --- number: 84 definition_file: "choices" description: "Check choices dict (short) (colon)" send: "crazy-complete-test --choices-dict-short-colon " bash_expected: | > crazy-complete-test --choices-dict-short-colon a:a b:b > crazy-complete-test --choices-dict-short-colon fish_expected: | > crazy-complete-test --choices-dict-short-colon a:a (letter:a) b:b (letter:b) zsh_expected: | > crazy-complete-test --choices-dict-short-colon a:a -- letter:a b:b -- letter:b --- number: 85 definition_file: "choices" description: "Check choices dict (long)" send: "crazy-complete-test --choices-dict-long " bash_expected: | > crazy-complete-test --choices-dict-long a b c d e f > crazy-complete-test --choices-dict-long fish_expected: | > crazy-complete-test --choices-dict-long a (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) b (bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) c (ccccccccccccccccccccccccccccccccccccccccc) d (ddddddddddddddddddddddddddddddddddddddddd) e (eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee) f (fffffffffffffffffffffffffffffffffffffffff) zsh_expected: | > crazy-complete-test --choices-dict-long a -- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa b -- bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb c -- ccccccccccccccccccccccccccccccccccccccccc d -- ddddddddddddddddddddddddddddddddddddddddd e -- eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee f -- fffffffffffffffffffffffffffffffffffffffff --- number: 86 definition_file: "choices" description: "Check choices dict (long) (colon)" send: "crazy-complete-test --choices-dict-long-colon " bash_expected: | > crazy-complete-test --choices-dict-long-colon a:a b:b c:c d:d e:e f:f > crazy-complete-test --choices-dict-long-colon fish_expected: | > crazy-complete-test --choices-dict-long-colon a:a (a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a) b:b (b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b) c:c (c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c) d:d (d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d) e:e (e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e) f:f (f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f) zsh_expected: | > crazy-complete-test --choices-dict-long-colon a:a -- a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a b:b -- b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b c:c -- c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c d:d -- d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d e:e -- e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e f:f -- f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f --- number: 87 definition_file: "main" description: "Check if end-of-options (--) terminates options" send: "crazy-complete-test -- -" bash_expected: | > crazy-complete-test -- - fish_expected: | > crazy-complete-test -- - argparse-actions (argparse tool actions) when (Test the "when"-feature) zsh_expected: | > crazy-complete-test -- - --- number: 88 definition_file: "main" description: "Check if after end-of-options (--) positionals are completed" send: "crazy-complete-test -- a" bash_expected: | > crazy-complete-test -- a alias1 alias2 argparse-actions > crazy-complete-test -- a fish_expected: | > crazy-complete-test -- a alias1 (For testing the completer) argparse-actions (argparse tool actions) alias2 (For testing the completer) zsh_expected: | > crazy-complete-test -- a alias2 alias1 -- For testing the completer argparse-actions -- argparse tool actions --- number: 89 definition_file: "main" description: "Check if after end-of-options (--) positionals are completed (2)" send: "crazy-complete-test -- test " bash_expected: | > crazy-complete-test -- test first1 first2 first3 > crazy-complete-test -- test first fish_expected: | > crazy-complete-test -- test first first1 (First positional) first3 (First positional) first2 (First positional) zsh_expected: | > crazy-complete-test -- test first --- number: 90 definition_file: "filedir" description: "Check --directory" send: "crazy-complete-test --directory " bash_expected: | > crazy-complete-test --directory bin directory > crazy-complete-test --directory fish_expected: | > crazy-complete-test --directory bin/ directory/ zsh_expected: | > crazy-complete-test --directory bin/ directory/ --- number: 91 definition_file: "filedir" description: "Check --file" send: "crazy-complete-test --file " bash_expected: | > crazy-complete-test --file README.md file with spaces file4.txt.1 source.c++ archive.tar.gz file0.txt image0.jpg bin file1.TXT image1.JPG directory file3.tXt image2.jPg > crazy-complete-test --file fish_expected: | > crazy-complete-test --file archive.tar.gz file with spaces file3.tXt image1.JPG source.c++ bin/ file0.txt file4.txt.1 image2.jPg directory/ file1.TXT image0.jpg README.md zsh_expected: | > crazy-complete-test --file README.md file\ with\ spaces file4.txt.1 source.c++ archive.tar.gz file0.txt image0.jpg bin/ file1.TXT image1.JPG directory/ file3.tXt image2.jPg --- number: 92 definition_file: "filedir" description: "Check --file-txt-jpg" send: "crazy-complete-test --file-txt-jpg " bash_expected: | > crazy-complete-test --file-txt-jpg bin file0.txt file3.tXt image1.JPG directory file1.TXT image0.jpg image2.jPg > crazy-complete-test --file-txt-jpg fish_expected: | > crazy-complete-test --file-txt-jpg bin/ file0.txt file3.tXt image1.JPG directory/ file1.TXT image0.jpg image2.jPg zsh_expected: | > crazy-complete-test --file-txt-jpg bin/ file0.txt file3.tXt image1.JPG directory/ file1.TXT image0.jpg image2.jPg --- number: 93 definition_file: "filedir" description: "Check --file-tar-gz" send: "crazy-complete-test --file-tar-gz " bash_expected: | > crazy-complete-test --file-tar-gz archive.tar.gz bin directory > crazy-complete-test --file-tar-gz fish_expected: | > crazy-complete-test --file-tar-gz archive.tar.gz bin/ directory/ zsh_expected: | > crazy-complete-test --file-tar-gz archive.tar.gz bin/ directory/ --- number: 94 definition_file: "filedir" description: "Check --file-cpp" send: "crazy-complete-test --file-cpp " bash_expected: | > crazy-complete-test --file-cpp bin directory source.c++ > crazy-complete-test --file-cpp fish_expected: | > crazy-complete-test --file-cpp bin/ directory/ source.c++ zsh_expected: | > crazy-complete-test --file-cpp bin/ directory/ source.c++ --- number: 95 definition_file: "command_arg" description: "Check --command-path" send: "crazy-complete-test --command-path my_test_b" bash_expected: | > crazy-complete-test --command-path my_test_binary fish_expected: | > crazy-complete-test --command-path my_test_binary zsh_expected: | > crazy-complete-test --command-path my_test_binary --- number: 96 definition_file: "command_arg" description: "Check --command-path-append" send: "crazy-complete-test --command-path-append my_test_b" bash_expected: | > crazy-complete-test --command-path-append my_test_binary fish_expected: | > crazy-complete-test --command-path-append my_test_binary zsh_expected: | > crazy-complete-test --command-path-append my_test_binary --- number: 97 definition_file: "command_arg" description: "Check --command-path-prepend" send: "crazy-complete-test --command-path-prepend my_test_b" bash_expected: | > crazy-complete-test --command-path-prepend my_test_binary fish_expected: | > crazy-complete-test --command-path-prepend my_test_binary zsh_expected: | > crazy-complete-test --command-path-prepend my_test_binary --- number: 98 definition_file: "command_arg" description: "Check --command-path-append-prepend" send: "crazy-complete-test --command-path-append-prepend my_test_b" bash_expected: | > crazy-complete-test --command-path-append-prepend my_test_binary fish_expected: | > crazy-complete-test --command-path-append-prepend my_test_binary zsh_expected: | > crazy-complete-test --command-path-append-prepend my_test_binary --- number: 99 definition_file: "filedir" description: "Check --file-txt-fuzzy" send: "crazy-complete-test --file-txt-fuzzy " bash_expected: | > crazy-complete-test --file-txt-fuzzy bin directory file0.txt file1.TXT file3.tXt file4.txt.1 > crazy-complete-test --file-txt-fuzzy fish_expected: | > crazy-complete-test --file-txt-fuzzy bin/ directory/ file0.txt file1.TXT file3.tXt file4.txt.1 zsh_expected: | > crazy-complete-test --file-txt-fuzzy bin/ directory/ file0.txt file1.TXT file3.tXt file4.txt.1 --- number: 100 definition_file: "list" description: "Check --list (1)" send: "crazy-complete-test --list " bash_expected: | > crazy-complete-test --list one three two > crazy-complete-test --list fish_expected: | > crazy-complete-test --list one three two zsh_expected: | > crazy-complete-test --list one three two --- number: 101 definition_file: "list" description: "Check --list (2)" send: "crazy-complete-test --list one," bash_expected: | > crazy-complete-test --list one, one,three one,two > crazy-complete-test --list one,t fish_expected: | > crazy-complete-test --list one,t one,three one,two zsh_expected: | > crazy-complete-test --list one, one three two --- number: 102 definition_file: "list" description: "Check --colon-list (1)" send: "crazy-complete-test --colon-list " bash_expected: | > crazy-complete-test --colon-list one three two > crazy-complete-test --colon-list fish_expected: | > crazy-complete-test --colon-list one three two zsh_expected: | > crazy-complete-test --colon-list one three two --- number: 103 definition_file: "list" description: "Check --colon-list (2)" send: "crazy-complete-test --colon-list one:" bash_expected: | > crazy-complete-test --colon-list one: three two > crazy-complete-test --colon-list one:t fish_expected: | > crazy-complete-test --colon-list one:t one:three one:two zsh_expected: | > crazy-complete-test --colon-list one: one three two --- number: 104 definition_file: "list" description: "Check --combined-list" send: "crazy-complete-test --combined-list " bash_expected: | > crazy-complete-test --combined-list 1 2 3 one three two > crazy-complete-test --combined-list fish_expected: | > crazy-complete-test --combined-list 1 2 3 one three two zsh_expected: | > crazy-complete-test --combined-list 1 2 3 one three two --- number: 105 definition_file: "list" description: "Check --duplicate-list (1)" send: "crazy-complete-test --duplicate-list " bash_expected: | > crazy-complete-test --duplicate-list one three two > crazy-complete-test --duplicate-list fish_expected: | > crazy-complete-test --duplicate-list one three two zsh_expected: | > crazy-complete-test --duplicate-list one three two --- number: 106 definition_file: "list" description: "Check --duplicate-list (2)" send: "crazy-complete-test --duplicate-list one," bash_expected: | > crazy-complete-test --duplicate-list one, one,one one,three one,two > crazy-complete-test --duplicate-list one, fish_expected: | > crazy-complete-test --duplicate-list one, one,one one,three one,two zsh_expected: | > crazy-complete-test --duplicate-list one, one three two --- number: 107 definition_file: "main" description: "complete: Check --value-list-dup" send: "crazy-complete-test complete --value-list-dup foo," bash_expected: | > crazy-complete-test complete --value-list-dup foo, foo,bar foo,baz foo,foo > crazy-complete-test complete --value-list-dup foo, fish_expected: | > crazy-complete-test complete --value-list-dup foo, foo,bar (Complete a list (with duplicates)) foo,baz (Complete a list (with duplicates)) foo,foo (Complete a list (with duplicates)) zsh_expected: | > crazy-complete-test complete --value-list-dup foo, bar baz foo --- number: 108 definition_file: "main" description: "complete: Check --integer" send: "crazy-complete-test complete --integer 1" bash_expected: | > crazy-complete-test complete --integer 1 1 1h 1m 1s > crazy-complete-test complete --integer 1 fish_expected: | > crazy-complete-test complete --integer 1 1h (hours) 1m (minutes) 1s (seconds) zsh_expected: | > crazy-complete-test complete --integer 1 s -- seconds m -- minutes h -- hours --- number: 109 definition_file: "main" description: "complete: Check --float" send: "crazy-complete-test complete --float 1" bash_expected: | > crazy-complete-test complete --float 1 1 1h 1m 1s > crazy-complete-test complete --float 1 fish_expected: | > crazy-complete-test complete --float 1 1h (hours) 1m (minutes) 1s (seconds) zsh_expected: | > crazy-complete-test complete --float 1 s -- seconds m -- minutes h -- hours --- number: 110 definition_file: "main" description: "complete: Check --float (2)" send: "crazy-complete-test complete --float 1.0" bash_expected: | > crazy-complete-test complete --float 1.0 1.0 1.0h 1.0m 1.0s > crazy-complete-test complete --float 1.0 fish_expected: | > crazy-complete-test complete --float 1.0 1.0h (hours) 1.0m (minutes) 1.0s (seconds) zsh_expected: | > crazy-complete-test complete --float 1.0 s -- seconds m -- minutes h -- hours --- number: 111 definition_file: "key_value_list" description: "key_value_list: Check -o" send: "crazy-complete-test -o " bash_expected: | > crazy-complete-test -o animal exclusive nocomp proc with_sep async file number repeatable > crazy-complete-test -o fish_expected: | > crazy-complete-test -o animal= (select an animal) number= (select a number) async (set async mode) proc= (select a process) exclusive (deactivate some options) repeatable (repeatable option) file= with_sep= (values containing sep) nocomp= (no completer) zsh_expected: | > crazy-complete-test -o animal -- select an animal async -- set async mode exclusive -- deactivate some options nocomp -- no completer number -- select a number proc -- select a process repeatable -- repeatable option with_sep -- values containing sep file --- number: 112 definition_file: "key_value_list" description: "key_value_list: Check -o a" send: "crazy-complete-test -o a" bash_expected: | > crazy-complete-test -o a animal async > crazy-complete-test -o a fish_expected: | > crazy-complete-test -o a animal= (select an animal) async (set async mode) zsh_expected: | > crazy-complete-test -o a animal -- select an animal async -- set async mode --- number: 113 definition_file: "key_value_list" description: "key_value_list: Check -o an" send: "crazy-complete-test -o an" bash_expected: | > crazy-complete-test -o animal fish_expected: | > crazy-complete-test -o animal= zsh_expected: | > crazy-complete-test -o animal= --- number: 114 definition_file: "key_value_list" description: "key_value_list: Check -o animal=" send: "crazy-complete-test -o animal=" bash_expected: | > crazy-complete-test -o animal= cat dog horse > crazy-complete-test -o animal= fish_expected: | > crazy-complete-test -o animal= animal=cat animal=dog animal=horse zsh_expected: | > crazy-complete-test -o animal= cat dog horse --- number: 115 definition_file: "key_value_list" description: "key_value_list: Check -o animal," send: "crazy-complete-test -o animal," bash_expected: | > crazy-complete-test -o animal, animal,async animal,file animal,number animal,repeatable animal,exclusive animal,nocomp animal,proc animal,with_sep > crazy-complete-test -o animal, fish_expected: | > crazy-complete-test -o animal, animal,async (set async mode) animal,exclusive (deactivate some options) animal,file= animal,nocomp= (no completer) animal,number= (select a number) animal,proc= (select a process) animal,repeatable (repeatable option) animal,with_sep= (values containing sep) zsh_expected: | > crazy-complete-test -o animal, async -- set async mode exclusive -- deactivate some options nocomp -- no completer number -- select a number proc -- select a process repeatable -- repeatable option with_sep -- values containing sep file --- number: 116 definition_file: "key_value_list" description: "key_value_list: Check -o animal,n" send: "crazy-complete-test -o animal,n" bash_expected: | > crazy-complete-test -o animal,n animal,nocomp animal,number > crazy-complete-test -o animal,n fish_expected: | > crazy-complete-test -o animal,n animal,nocomp= (no completer) animal,number= (select a number) zsh_expected: | > crazy-complete-test -o animal,n nocomp -- no completer number -- select a number --- number: 117 definition_file: "key_value_list" description: "key_value_list: Check -o number=" send: "crazy-complete-test -o number=" bash_expected: | > crazy-complete-test -o number= 0 1 2 > crazy-complete-test -o number= fish_expected: | > crazy-complete-test -o number= number=0 (zero) number=1 (one) number=2 (two) zsh_expected: | > crazy-complete-test -o number= 0 -- zero 1 -- one 2 -- two --- number: 118 definition_file: "key_value_list" description: "key_value_list: Check -o 'number=" send: "crazy-complete-test -o 'number=" bash_expected: | > crazy-complete-test -o 'number= number=0 number=1 number=2 > crazy-complete-test -o 'number= fish_expected: | > crazy-complete-test -o 'number= 'number=0 (zero) 'number=1 (one) 'number=2 (two) zsh_expected: | > crazy-complete-test -o 'number= 0 -- zero 1 -- one 2 -- two --- number: 119 definition_file: "key_value_list" description: "key_value_list: Check -o \"number=" send: "crazy-complete-test -o \"number=" bash_expected: | > crazy-complete-test -o "number= number=0 number=1 number=2 > crazy-complete-test -o "number= fish_expected: | > crazy-complete-test -o "number= "number=0 (zero) "number=1 (one) "number=2 (two) zsh_expected: | > crazy-complete-test -o "number= 0 -- zero 1 -- one 2 -- two --- number: 120 definition_file: "key_value_list" description: "key_value_list: Check -o file=f" send: "crazy-complete-test -o file=f" bash_expected: | > crazy-complete-test -o file=f file with spaces file1.TXT file4.txt.1 file0.txt file3.tXt > crazy-complete-test -o file=file fish_expected: | > crazy-complete-test -o file=file file=file with spaces file=file1.TXT file=file4.txt.1 file=file0.txt file=file3.tXt zsh_expected: | > crazy-complete-test -o file=file --- number: 121 definition_file: "key_value_list" description: "key_value_list: Check -o with_sep=value=" comment: "Does not work for Bash yet" send: "crazy-complete-test -o with_sep=value=" bash_expected: | > crazy-complete-test -o with_sep=value=value=foo fish_expected: | > crazy-complete-test -o with_sep=value=foo zsh_expected: | > crazy-complete-test -o with_sep=value=foo, --- number: 122 definition_file: "key_value_list" description: "key_value_list: Check -o exclusive," send: "crazy-complete-test -o exclusive," bash_expected: | > crazy-complete-test -o exclusive, exclusive,file exclusive,repeatable exclusive,proc exclusive,with_sep > crazy-complete-test -o exclusive, fish_expected: | > crazy-complete-test -o exclusive, …xclusive,file= …xclusive,proc= (select a process) …xclusive,repeatable (repeatable option) …xclusive,with_sep= (values containing sep) zsh_expected: | > crazy-complete-test -o exclusive, proc -- select a process repeatable -- repeatable option with_sep -- values containing sep file --- number: 123 definition_file: "key_value_list" description: "key_value_list: Check -o repeatable," send: "crazy-complete-test -o repeatable," bash_expected: | > crazy-complete-test -o repeatable, repeatable,animal repeatable,file repeatable,proc repeatable,async repeatable,nocomp repeatable,repeatable repeatable,exclusive repeatable,number repeatable,with_sep > crazy-complete-test -o repeatable, fish_expected: | > crazy-complete-test -o repeatable, …peatable,animal= (select an animal) …peatable,async (set async mode) …peatable,exclusive (deactivate some options) …peatable,file= …peatable,nocomp= (no completer) …peatable,number= (select a number) …peatable,proc= (select a process) …peatable,repeatable (repeatable option) …peatable,with_sep= (values containing sep) zsh_expected: | > crazy-complete-test -o repeatable, animal -- select an animal async -- set async mode exclusive -- deactivate some options nocomp -- no completer number -- select a number proc -- select a process repeatable -- repeatable option with_sep -- values containing sep file --- number: 124 definition_file: "key_value_list" description: "key_value_list: Check --condition " send: "crazy-complete-test --condition " bash_expected: | > crazy-complete-test --condition animal exclusive nocomp proc with_sep async file number repeatable > crazy-complete-test --condition fish_expected: | > crazy-complete-test --condition animal= (select an animal) number= (select a number) async (set async mode) proc= (select a process) exclusive (deactivate some options) repeatable (repeatable option) file= with_sep= (values containing sep) nocomp= (no completer) zsh_expected: | > crazy-complete-test --condition animal -- select an animal async -- set async mode exclusive -- deactivate some options nocomp -- no completer number -- select a number proc -- select a process repeatable -- repeatable option with_sep -- values containing sep file --- number: 125 definition_file: "complex" description: "complex: Check no arguments" send: "crazy-complete-test " bash_expected: | > crazy-complete-test log: output: > crazy-complete-test fish_expected: | > crazy-complete-test log: output: zsh_expected: | > crazy-complete-test log: output: --- number: 126 definition_file: "complex" description: "complex: Check l" send: "crazy-complete-test l" bash_expected: | > crazy-complete-test log: fish_expected: | > crazy-complete-test log: zsh_expected: | > crazy-complete-test log: --- number: 127 definition_file: "complex" description: "complex: Check log:" send: "crazy-complete-test log:" bash_expected: | > crazy-complete-test log: format level > crazy-complete-test log: fish_expected: | > crazy-complete-test log: log:format= (specify output format) log:level= (specify log level) zsh_expected: | > crazy-complete-test log: format -- specify output format level -- specify log level --- number: 128 definition_file: "complex" description: "complex: Check log:l" send: "crazy-complete-test log:l" bash_expected: | > crazy-complete-test log:level fish_expected: | > crazy-complete-test log:level= zsh_expected: | > crazy-complete-test log:level= --- number: 129 definition_file: "complex" description: "complex: Check log:level=" send: "crazy-complete-test log:level=" bash_expected: | > crazy-complete-test log:level= debug error info warn > crazy-complete-test log:level= fish_expected: | > crazy-complete-test log:level= …og:level=debug …og:level=error …og:level=info …og:level=warn zsh_expected: | > crazy-complete-test log:level= debug error info warn --- number: 130 definition_file: "complex" description: "complex: Check log:level=w" send: "crazy-complete-test log:level=w" bash_expected: | > crazy-complete-test log:level=warn fish_expected: | > crazy-complete-test log:level=warn zsh_expected: | > crazy-complete-test log:level=warn, --- number: 131 definition_file: "complex" description: "complex: Check log:level=warn o" send: "crazy-complete-test log:level=warn o" bash_expected: | > crazy-complete-test log:level=warn output: fish_expected: | > crazy-complete-test log:level=warn output: zsh_expected: | > crazy-complete-test log:level=warn output: --- number: 132 definition_file: "choices" description: "Check if nosort is respected (long option)" send: "crazy-complete-test --choices-no-sort " require_order: true bash_expected: | > crazy-complete-test --choices-no-sort 3 1 2 > crazy-complete-test --choices-no-sort fish_expected: | > crazy-complete-test --choices-no-sort 3 1 2 zsh_expected: | > crazy-complete-test --choices-no-sort 3 1 2 --- number: 133 definition_file: "choices" description: "Check if nosort is respected (old option)" send: "crazy-complete-test -choices-no-sort " require_order: true bash_expected: | > crazy-complete-test -choices-no-sort 3 1 2 > crazy-complete-test -choices-no-sort fish_expected: | > crazy-complete-test -choices-no-sort 3 1 2 zsh_expected: | > crazy-complete-test -choices-no-sort 3 1 2 --- number: 134 definition_file: "choices" description: "Check if nosort is respected (short option)" send: "crazy-complete-test -n " require_order: true bash_expected: | > crazy-complete-test -n 3 1 2 > crazy-complete-test -n fish_expected: | > crazy-complete-test -n 3 1 2 zsh_expected: | > crazy-complete-test -n 3 1 2 --- number: 135 definition_file: "choices" description: "Check if nosort is respected (positional)" send: "crazy-complete-test " require_order: true bash_expected: | > crazy-complete-test 3 1 2 > crazy-complete-test fish_expected: | > crazy-complete-test 3 1 2 zsh_expected: | > crazy-complete-test 3 1 2 --- number: 136 definition_file: "filedir" description: "Check --directory-relative" send: "crazy-complete-test --directory-relative " bash_expected: | > crazy-complete-test --directory-relative bin directory > crazy-complete-test --directory-relative fish_expected: | > crazy-complete-test --directory-relative bin/ directory/ zsh_expected: | > crazy-complete-test --directory-relative bin/ directory/ --- number: 137 definition_file: "filedir" description: "Check --file-relative" send: "crazy-complete-test --file-relative " bash_expected: | > crazy-complete-test --file-relative README.md file with spaces file4.txt.1 source.c++ archive.tar.gz file0.txt image0.jpg bin file1.TXT image1.JPG directory file3.tXt image2.jPg > crazy-complete-test --file-relative fish_expected: | > crazy-complete-test --file-relative archive.tar.gz file with spaces file3.tXt image1.JPG source.c++ bin/ file0.txt file4.txt.1 image2.jPg directory/ file1.TXT image0.jpg README.md zsh_expected: | > crazy-complete-test --file-relative README.md file\ with\ spaces file4.txt.1 source.c++ archive.tar.gz file0.txt image0.jpg bin/ file1.TXT image1.JPG directory/ file3.tXt image2.jPg --- number: 138 definition_file: "filedir" description: "Check --file-ignore-txt-cpp" send: "crazy-complete-test --file-ignore-txt-cpp " bash_expected: | > crazy-complete-test --file-ignore-txt-cpp README.md directory image0.jpg archive.tar.gz file with spaces image1.JPG bin file4.txt.1 image2.jPg > crazy-complete-test --file-ignore-txt-cpp fish_expected: | > crazy-complete-test --file-ignore-txt-cpp archive.tar.gz directory/ file4.txt.1 image1.JPG README.md bin/ file with spaces image0.jpg image2.jPg zsh_expected: | > crazy-complete-test --file-ignore-txt-cpp README.md directory/ image0.jpg archive.tar.gz file\ with\ spaces image1.JPG bin/ file4.txt.1 image2.jPg --- number: 139 definition_file: "filedir" description: "Check --file-ignore-txt-cpp-2" send: "crazy-complete-test --file-ignore-txt-cpp-2 " bash_expected: | > crazy-complete-test --file-ignore-txt-cpp-2 README.md directory image0.jpg archive.tar.gz file with spaces image1.JPG bin file4.txt.1 image2.jPg > crazy-complete-test --file-ignore-txt-cpp-2 fish_expected: | > crazy-complete-test --file-ignore-txt-cpp-2 archive.tar.gz directory/ file4.txt.1 image1.JPG README.md bin/ file with spaces image0.jpg image2.jPg zsh_expected: | > crazy-complete-test --file-ignore-txt-cpp-2 README.md directory/ image0.jpg archive.tar.gz file\ with\ spaces image1.JPG bin/ file4.txt.1 image2.jPg --- number: 140 definition_file: "when" description: "Check with no options" send: "crazy-complete-test --" bash_expected: | > crazy-complete-test -- --if-not-1 --option-1 --if-not-1-or-not-2 --option-2 > crazy-complete-test -- fish_expected: | > crazy-complete-test -- --if-not-1 --if-not-1-or-not-2 --option-1 --option-2 zsh_expected: | > crazy-complete-test -- --if-not-1 --option-1 --if-not-1-or-not-2 --option-2 --- number: 141 definition_file: "when" description: "Check with no --option-1" send: "crazy-complete-test --option-1 --" bash_expected: | > crazy-complete-test --option-1 -- --if-1-or-2 --option-2 > crazy-complete-test --option-1 -- fish_expected: | > crazy-complete-test --option-1 -- --if-1-or-2 --option-2 zsh_expected: | > crazy-complete-test --option-1 -- --if-1-or-2 --option-2 --- number: 142 definition_file: "when" description: "Check with no --option-2" send: "crazy-complete-test --option-2 --" bash_expected: | > crazy-complete-test --option-2 -- --if-1-or-2 --if-not-1 --option-1 > crazy-complete-test --option-2 -- fish_expected: | > crazy-complete-test --option-2 -- --if-1-or-2 --if-not-1 --option-1 zsh_expected: | > crazy-complete-test --option-2 -- --if-1-or-2 --if-not-1 --option-1 --- number: 143 definition_file: "when" description: "Check with no --option-1 and --option-2" send: "crazy-complete-test --option-1 --option-2 --" bash_expected: | > crazy-complete-test --option-1 --option-2 -- --if-1-and-2 --if-1-or-2 > crazy-complete-test --option-1 --option-2 --if-1- fish_expected: | > crazy-complete-test --option-1 --option-2 --if-1- --if-1-and-2 --if-1-or-2 zsh_expected: | > crazy-complete-test --option-1 --option-2 --if-1--2 --- number: 144 definition_file: "when" description: "Check special-values without options" send: "crazy-complete-test special-values --" bash_expected: | > crazy-complete-test special-values --arg= fish_expected: | > crazy-complete-test special-values --arg zsh_expected: | > crazy-complete-test special-values --arg= --- number: 145 definition_file: "when" description: "Check special-values with --arg='foo bar'" send: "crazy-complete-test special-values --arg='foo bar' --" bash_expected: | > crazy-complete-test special-values --arg='foo bar' --if-arg-is-foo-bar fish_expected: | > crazy-complete-test special-values --arg='foo bar' --if-arg-is-foo-bar zsh_expected: | > crazy-complete-test special-values --arg='foo bar' --if-arg-is-foo-bar --- number: 146 definition_file: "when" description: "Check special-values with --arg='\"'" send: "crazy-complete-test special-values --arg='\"' --" bash_expected: | > crazy-complete-test special-values --arg='"' --if-arg-is-double-quote fish_expected: | > crazy-complete-test special-values --arg='"' --if-arg-is-double-quote zsh_expected: | > crazy-complete-test special-values --arg='"' --if-arg-is-double-quote --- number: 147 definition_file: "when" description: "Check special-values with --arg=\"'\"" send: "crazy-complete-test special-values --arg=\"'\" --" bash_expected: | > crazy-complete-test special-values --arg="'" --if-arg-is-single-quote fish_expected: | > crazy-complete-test special-values --arg="'" --if-arg-is-single-quote zsh_expected: | > crazy-complete-test special-values --arg="'" --if-arg-is-single-quote --- number: 148 definition_file: "long_opt_arg_sep" description: "Check long_opt_arg_sep (both)" send: "crazy-complete-test --both" bash_expected: | > crazy-complete-test --both= fish_expected: | > crazy-complete-test --both zsh_expected: | > crazy-complete-test --both= --- number: 149 definition_file: "long_opt_arg_sep" description: "Check long_opt_arg_sep (equals)" send: "crazy-complete-test --equals" bash_expected: | > crazy-complete-test --equals= fish_expected: | > crazy-complete-test --equals zsh_expected: | > crazy-complete-test --equals= --- number: 150 definition_file: "long_opt_arg_sep" description: "Check long_opt_arg_sep (space)" send: "crazy-complete-test --space" bash_expected: | > crazy-complete-test --space fish_expected: | > crazy-complete-test --space zsh_expected: | > crazy-complete-test --space --- number: 151 definition_file: "key_value_pair" description: "key_value_pair: Check -o" send: "crazy-complete-test -o " bash_expected: | > crazy-complete-test -o animal async file nocomp number proc with_sep > crazy-complete-test -o fish_expected: | > crazy-complete-test -o animal= (select an animal) number= (select a number) async (set async mode) proc= (select a process) file= with_sep= (values containing sep) nocomp= (no completer) zsh_expected: | > crazy-complete-test -o animal -- select an animal async -- set async mode nocomp -- no completer number -- select a number proc -- select a process with_sep -- values containing sep file --- number: 152 definition_file: "key_value_pair" description: "key_value_pair: Check -o a" send: "crazy-complete-test -o a" bash_expected: | > crazy-complete-test -o a animal async > crazy-complete-test -o a fish_expected: | > crazy-complete-test -o a animal= (select an animal) async (set async mode) zsh_expected: | > crazy-complete-test -o a animal -- select an animal async -- set async mode --- number: 153 definition_file: "key_value_pair" description: "key_value_pair: Check -o an" send: "crazy-complete-test -o an" bash_expected: | > crazy-complete-test -o animal fish_expected: | > crazy-complete-test -o animal= zsh_expected: | > crazy-complete-test -o animal= --- number: 154 definition_file: "key_value_pair" description: "key_value_pair: Check -o animal=" send: "crazy-complete-test -o animal=" bash_expected: | > crazy-complete-test -o animal= cat dog horse > crazy-complete-test -o animal= fish_expected: | > crazy-complete-test -o animal= animal=cat animal=dog animal=horse zsh_expected: | > crazy-complete-test -o animal= cat dog horse --- number: 155 definition_file: "key_value_pair" description: "key_value_pair: Check -o number=" send: "crazy-complete-test -o number=" bash_expected: | > crazy-complete-test -o number= 0 1 2 > crazy-complete-test -o number= fish_expected: | > crazy-complete-test -o number= number=0 (zero) number=1 (one) number=2 (two) zsh_expected: | > crazy-complete-test -o number= 0 -- zero 1 -- one 2 -- two --- number: 156 definition_file: "key_value_pair" description: "key_value_pair: Check -o 'number=" send: "crazy-complete-test -o 'number=" bash_expected: | > crazy-complete-test -o 'number= number=0 number=1 number=2 > crazy-complete-test -o 'number= fish_expected: | > crazy-complete-test -o 'number= 'number=0 (zero) 'number=1 (one) 'number=2 (two) zsh_expected: | > crazy-complete-test -o 'number= 0 -- zero 1 -- one 2 -- two --- number: 157 definition_file: "key_value_pair" description: "key_value_pair: Check -o \"number=" send: "crazy-complete-test -o \"number=" bash_expected: | > crazy-complete-test -o "number= number=0 number=1 number=2 > crazy-complete-test -o "number= fish_expected: | > crazy-complete-test -o "number= "number=0 (zero) "number=1 (one) "number=2 (two) zsh_expected: | > crazy-complete-test -o "number= 0 -- zero 1 -- one 2 -- two --- number: 158 definition_file: "key_value_pair" description: "key_value_pair: Check -o file=f" send: "crazy-complete-test -o file=f" bash_expected: | > crazy-complete-test -o file=f file with spaces file1.TXT file4.txt.1 file0.txt file3.tXt > crazy-complete-test -o file=file fish_expected: | > crazy-complete-test -o file=file file=file with spaces file=file1.TXT file=file4.txt.1 file=file0.txt file=file3.tXt zsh_expected: | > crazy-complete-test -o file=file --- number: 159 definition_file: "key_value_pair" description: "key_value_pair: Check -o with_sep=value=" comment: "Does not work for Bash yet" send: "crazy-complete-test -o with_sep=value=" bash_expected: | > crazy-complete-test -o with_sep=value=value=foo fish_expected: | > crazy-complete-test -o with_sep=value=foo zsh_expected: | > crazy-complete-test -o with_sep=value=foo --- number: 160 definition_file: "key_value_pair_exec" description: "key_value_pair_exec: Check -o" send: "crazy-complete-test -o " bash_expected: | > crazy-complete-test -o animal= async special > crazy-complete-test -o fish_expected: | > crazy-complete-test -o animal= (select an animal) special (special chars: []'"$`\) async (set async mode) zsh_expected: | > crazy-complete-test -o animal -- select an animal async -- set async mode special -- special chars: []'"$`\ --- number: 161 definition_file: "key_value_pair_exec" description: "key_value_pair_exec: Check -o a" send: "crazy-complete-test -o a" bash_expected: | > crazy-complete-test -o a animal= async > crazy-complete-test -o a fish_expected: | > crazy-complete-test -o a animal= (select an animal) async (set async mode) zsh_expected: | > crazy-complete-test -o a animal -- select an animal async -- set async mode --- number: 162 definition_file: "key_value_pair_exec" description: "key_value_pair_exec: Check -o an" send: "crazy-complete-test -o an" bash_expected: | > crazy-complete-test -o animal= fish_expected: | > crazy-complete-test -o animal= zsh_expected: | > crazy-complete-test -o animal= --- number: 163 definition_file: "key_value_pair_exec" description: "key_value_pair_exec: Check -o animal=" send: "crazy-complete-test -o animal=" bash_expected: | > crazy-complete-test -o animal= cat dog horse special > crazy-complete-test -o animal= fish_expected: | > crazy-complete-test -o animal= animal=cat (a cat) animal=horse (a horse) animal=dog (a dog) animal=special (:[]'"$`\) zsh_expected: | > crazy-complete-test -o animal= cat -- a cat dog -- a dog horse -- a horse special -- :[]'"$`\ --- number: 164 definition_file: "key_value_pair_exec" description: "key_value_pair_exec: Check -o 'animal=" send: "crazy-complete-test -o 'animal=" bash_expected: | > crazy-complete-test -o 'animal= animal=cat animal=dog animal=horse animal=special > crazy-complete-test -o 'animal= fish_expected: | > crazy-complete-test -o 'animal= 'animal=cat (a cat) 'animal=horse (a horse) 'animal=dog (a dog) 'animal=special (:[]'"$`\) zsh_expected: | > crazy-complete-test -o 'animal= cat -- a cat dog -- a dog horse -- a horse special -- :[]'"$`\ --- number: 165 definition_file: "key_value_pair_exec" description: "key_value_pair_exec: Check -o \"animal=" send: "crazy-complete-test -o \"animal=" bash_expected: | > crazy-complete-test -o "animal= animal=cat animal=dog animal=horse animal=special > crazy-complete-test -o "animal= fish_expected: | > crazy-complete-test -o "animal= "animal=cat (a cat) "animal=horse (a horse) "animal=dog (a dog) "animal=special (:[]'"$`\) zsh_expected: | > crazy-complete-test -o "animal= cat -- a cat dog -- a dog horse -- a horse special -- :[]'"$`\ --- number: 166 definition_file: "key_value_pair" description: "key_value_pair: Check --condition " send: "crazy-complete-test --condition " bash_expected: | > crazy-complete-test --condition animal async file nocomp number proc with_sep > crazy-complete-test --condition fish_expected: | > crazy-complete-test --condition animal= (select an animal) nocomp= (no completer) async (set async mode) number= (select a number) disabled (disabled option) proc= (select a process) file= with_sep= (values containing sep) zsh_expected: | > crazy-complete-test --condition animal -- select an animal async -- set async mode nocomp -- no completer number -- select a number proc -- select a process with_sep -- values containing sep file --- number: 167 definition_file: "key_value_list_exec" description: "key_value_list_exec: Check -o" send: "crazy-complete-test -o " bash_expected: | > crazy-complete-test -o animal async exclusive optional repeatable special > crazy-complete-test -o fish_expected: | > crazy-complete-test -o animal= (select an animal) optional (optional argument) async (set async mode) repeatable (repeatable option) exclusive (disable options) special (special chars: []'"$`\) zsh_expected: | > crazy-complete-test -o animal -- select an animal async -- set async mode exclusive -- disable options optional -- optional argument repeatable -- repeatable option special -- special chars: []'"$`\ --- number: 168 definition_file: "key_value_list_exec" description: "key_value_list_exec: Check -o a" send: "crazy-complete-test -o a" bash_expected: | > crazy-complete-test -o a animal async > crazy-complete-test -o a fish_expected: | > crazy-complete-test -o a animal= (select an animal) async (set async mode) zsh_expected: | > crazy-complete-test -o a animal -- select an animal async -- set async mode --- number: 169 definition_file: "key_value_list_exec" description: "key_value_list_exec: Check -o an" send: "crazy-complete-test -o an" bash_expected: | > crazy-complete-test -o animal fish_expected: | > crazy-complete-test -o animal= zsh_expected: | > crazy-complete-test -o animal= --- number: 170 definition_file: "key_value_list_exec" description: "key_value_list_exec: Check -o animal=" send: "crazy-complete-test -o animal=" bash_expected: | > crazy-complete-test -o animal= cat dog horse special > crazy-complete-test -o animal= fish_expected: | > crazy-complete-test -o animal= animal=cat (a cat) animal=horse (a horse) animal=dog (a dog) animal=special (:[]'"$`\) zsh_expected: | > crazy-complete-test -o animal= cat -- a cat dog -- a dog horse -- a horse special -- :[]'"$`\ --- number: 171 definition_file: "key_value_list_exec" description: "key_value_list_exec: Check -o optional=" send: "crazy-complete-test -o optional=" bash_expected: | > crazy-complete-test -o optional= cat dog horse special > crazy-complete-test -o optional= fish_expected: | > crazy-complete-test -o optional= optional=cat (a cat) optional=horse (a horse) optional=dog (a dog) optional=special (:[]'"$`\) zsh_expected: | > crazy-complete-test -o optional= cat -- a cat dog -- a dog horse -- a horse special -- :[]'"$`\ --- number: 172 definition_file: "key_value_list_exec" description: "key_value_list_exec: Check -o 'animal=" send: "crazy-complete-test -o 'animal=" bash_expected: | > crazy-complete-test -o 'animal= animal=cat animal=dog animal=horse animal=special > crazy-complete-test -o 'animal= fish_expected: | > crazy-complete-test -o 'animal= 'animal=cat (a cat) 'animal=horse (a horse) 'animal=dog (a dog) 'animal=special (:[]'"$`\) zsh_expected: | > crazy-complete-test -o 'animal= cat -- a cat dog -- a dog horse -- a horse special -- :[]'"$`\ --- number: 173 definition_file: "key_value_list_exec" description: "key_value_list_exec: Check -o \"animal=" send: "crazy-complete-test -o \"animal=" bash_expected: | > crazy-complete-test -o "animal= animal=cat animal=dog animal=horse animal=special > crazy-complete-test -o "animal= fish_expected: | > crazy-complete-test -o "animal= "animal=cat (a cat) "animal=horse (a horse) "animal=dog (a dog) "animal=special (:[]'"$`\) zsh_expected: | > crazy-complete-test -o "animal= cat -- a cat dog -- a dog horse -- a horse special -- :[]'"$`\ --- number: 174 definition_file: "key_value_list_exec" description: "key_value_list_exec: Check -o exclusive," send: "crazy-complete-test -o exclusive," bash_expected: | > crazy-complete-test -o exclusive, exclusive,optional exclusive,repeatable exclusive,special > crazy-complete-test -o exclusive, fish_expected: | > crazy-complete-test -o exclusive, …xclusive,optional (optional argument) …xclusive,repeatable (repeatable option) …xclusive,special (special chars: []'"$`\) zsh_expected: | > crazy-complete-test -o exclusive, optional -- optional argument repeatable -- repeatable option special -- special chars: []'"$`\ --- number: 175 definition_file: "key_value_list_exec" description: "key_value_list_exec: Check -o repeatable," send: "crazy-complete-test -o repeatable," bash_expected: | > crazy-complete-test -o repeatable, repeatable,animal repeatable,exclusive repeatable,repeatable repeatable,async repeatable,optional repeatable,special > crazy-complete-test -o repeatable, fish_expected: | > crazy-complete-test -o repeatable, …peatable,animal= (select an animal) …peatable,async (set async mode) …peatable,exclusive (disable options) …peatable,optional (optional argument) …peatable,repeatable (repeatable option) …peatable,special (special chars: []'"$`\) zsh_expected: | > crazy-complete-test -o repeatable, animal -- select an animal async -- set async mode exclusive -- disable options optional -- optional argument repeatable -- repeatable option special -- special chars: []'"$`\ --- number: 176 definition_file: "option_arguments" description: "option_arguments: check -O (without space)" send: "crazy-complete-test -O" bash_expected: | > crazy-complete-test -O -Oflag -Omode > crazy-complete-test -O fish_expected: | > crazy-complete-test -O -Oflag -Omode= zsh_expected: | > crazy-complete-test -O flag mode --- number: 177 definition_file: "option_arguments" description: "option_arguments: check -Omode=strict," send: "crazy-complete-test -Omode=strict," bash_expected: | > crazy-complete-test -Omode=strict,flag fish_expected: | > crazy-complete-test -Omode=strict,flag zsh_expected: | > crazy-complete-test -Omode=strict,flag, --- number: 178 definition_file: "option_arguments" description: "option_arguments: check -O (with space)" send: "crazy-complete-test -O " bash_expected: | > crazy-complete-test -O flag mode > crazy-complete-test -O fish_expected: | > crazy-complete-test -O flag mode= zsh_expected: | > crazy-complete-test -O flag mode --- number: 179 definition_file: "option_arguments" description: "option_arguments: check -O mode=strict," send: "crazy-complete-test -O mode=strict," bash_expected: | > crazy-complete-test -O mode=strict,flag fish_expected: | > crazy-complete-test -O mode=strict,flag zsh_expected: | > crazy-complete-test -O mode=strict,flag, --- number: 180 definition_file: "option_arguments" description: "option_arguments: check -fO (without space)" send: "crazy-complete-test -fO" bash_expected: | > crazy-complete-test -fO -fOflag -fOmode > crazy-complete-test -fO fish_expected: | > crazy-complete-test -fO -fOflag -fOmode= zsh_expected: | > crazy-complete-test -fO flag mode --- number: 181 definition_file: "option_arguments" description: "option_arguments: check -fOmode=strict," send: "crazy-complete-test -fOmode=strict," bash_expected: | > crazy-complete-test -fOmode=strict,flag fish_expected: | > crazy-complete-test -fOmode=strict,flag zsh_expected: | > crazy-complete-test -fOmode=strict,flag, --- number: 182 definition_file: "option_arguments" description: "option_arguments: check -fO (with space)" send: "crazy-complete-test -fO " bash_expected: | > crazy-complete-test -fO flag mode > crazy-complete-test -fO fish_expected: | > crazy-complete-test -fO flag mode= zsh_expected: | > crazy-complete-test -fO flag mode --- number: 183 definition_file: "option_arguments" description: "option_arguments: check -fO mode=strict," send: "crazy-complete-test -fO mode=strict," bash_expected: | > crazy-complete-test -fO mode=strict,flag fish_expected: | > crazy-complete-test -fO mode=strict,flag zsh_expected: | > crazy-complete-test -fO mode=strict,flag, --- number: 184 definition_file: "option_arguments" description: "option_arguments: check -option" send: "crazy-complete-test -option " bash_expected: | > crazy-complete-test -option flag mode > crazy-complete-test -option fish_expected: | > crazy-complete-test -option flag mode= zsh_expected: | > crazy-complete-test -option flag mode --- number: 185 definition_file: "option_arguments" description: "option_arguments: check -option mode=strict," send: "crazy-complete-test -option mode=strict," bash_expected: | > crazy-complete-test -option mode=strict,flag fish_expected: | > crazy-complete-test -option mode=strict,flag zsh_expected: | > crazy-complete-test -option mode=strict,flag, --- number: 186 definition_file: "option_arguments" description: "option_arguments: check -option=mode=strict," send: "crazy-complete-test -option=mode=strict," bash_expected: | > crazy-complete-test -option=mode=strict,flag fish_expected: | > crazy-complete-test -option=mode=strict,flag zsh_expected: | > crazy-complete-test -option=mode=strict,flag, --- number: 187 definition_file: "option_arguments" description: "option_arguments: check --option" send: "crazy-complete-test --option " bash_expected: | > crazy-complete-test --option flag mode > crazy-complete-test --option fish_expected: | > crazy-complete-test --option flag mode= zsh_expected: | > crazy-complete-test --option flag mode --- number: 188 definition_file: "option_arguments" description: "option_arguments: check --option mode=strict," send: "crazy-complete-test --option mode=strict," bash_expected: | > crazy-complete-test --option mode=strict,flag fish_expected: | > crazy-complete-test --option mode=strict,flag zsh_expected: | > crazy-complete-test --option mode=strict,flag, --- number: 189 definition_file: "option_arguments" description: "option_arguments: check --option=mode=strict," send: "crazy-complete-test --option=mode=strict," bash_expected: | > crazy-complete-test --option=mode=strict,flag fish_expected: | > crazy-complete-test --option=mode=strict,flag zsh_expected: | > crazy-complete-test --option=mode=strict,flag, --- number: 190 definition_file: "when" description: "when: advanced: check --" send: "crazy-complete-test advanced --" bash_expected: | > crazy-complete-test advanced --arg= fish_expected: | > crazy-complete-test advanced --arg zsh_expected: | > crazy-complete-test advanced --arg= --- number: 191 definition_file: "when" description: "when: advanced: check --arg FOO" send: "crazy-complete-test advanced --arg FOO --" bash_expected: | > crazy-complete-test advanced --arg FOO --if-arg-is-foo-or-bar-nocase fish_expected: | > crazy-complete-test advanced --arg FOO --if-arg-is-foo-or-bar-nocase zsh_expected: | > crazy-complete-test advanced --arg FOO --if-arg-is-foo-or-bar-nocase --- number: 192 definition_file: "when" description: "when: advanced: check --arg BAR" send: "crazy-complete-test advanced --arg BAR --" bash_expected: | > crazy-complete-test advanced --arg BAR --if-arg-is-foo-or-bar-nocase fish_expected: | > crazy-complete-test advanced --arg BAR --if-arg-is-foo-or-bar-nocase zsh_expected: | > crazy-complete-test advanced --arg BAR --if-arg-is-foo-or-bar-nocase --- number: 193 definition_file: "when" description: "when: advanced: check --arg regex" send: "crazy-complete-test advanced --arg regex --" bash_expected: | > crazy-complete-test advanced --arg regex -- --if-arg-is-regex --if-arg-is-regex-nocase > crazy-complete-test advanced --arg regex --if-arg-is-regex fish_expected: | > crazy-complete-test advanced --arg regex --if-arg-is-regex …-is-regex …-is-regex-nocase zsh_expected: | > crazy-complete-test advanced --arg regex --if-arg-is-regex --- number: 194 definition_file: "when" description: "when: advanced: check --arg REGEX" send: "crazy-complete-test advanced --arg REGEX --" bash_expected: | > crazy-complete-test advanced --arg REGEX --if-arg-is-regex-nocase fish_expected: | > crazy-complete-test advanced --arg REGEX --if-arg-is-regex-nocase zsh_expected: | > crazy-complete-test advanced --arg REGEX --if-arg-is-regex-nocase --- number: 195 definition_file: "when" description: "when: any: check --arg foo" send: "crazy-complete-test any --arg foo --" bash_expected: | > crazy-complete-test any --arg foo -- --if-any-arg-is-foo --if-arg-is-foo > crazy-complete-test any --arg foo --if-a fish_expected: | > crazy-complete-test any --arg foo --if-a --if-any-arg-is-foo --if-arg-is-foo zsh_expected: | > crazy-complete-test any --arg foo --if-a --- number: 196 definition_file: "when" description: "when: any: check --arg foo --arg override" send: "crazy-complete-test any --arg foo --arg override --" bash_expected: | > crazy-complete-test any --arg foo --arg override --if-any-arg-is-foo fish_expected: | > crazy-complete-test any --arg foo --arg override --if-any-arg-is-foo zsh_expected: | > crazy-complete-test any --arg foo --arg override --if-any-arg-is-foo --- number: 197 definition_file: "when" description: "when: any: check --arg regex" send: "crazy-complete-test any --arg regex --" bash_expected: | > crazy-complete-test any --arg regex -- --if-any-arg-is-regex --if-arg-is-regex > crazy-complete-test any --arg regex --if-a fish_expected: | > crazy-complete-test any --arg regex --if-a --if-any-arg-is-regex --if-arg-is-regex zsh_expected: | > crazy-complete-test any --arg regex --if-a --- number: 198 definition_file: "when" description: "when: any: check --arg regex --arg override" send: "crazy-complete-test any --arg regex --arg override --" bash_expected: | > crazy-complete-test any --arg regex --arg override --if-any-arg-is-regex fish_expected: | > crazy-complete-test any --arg regex --arg override --if-any-arg-is-regex zsh_expected: | > crazy-complete-test any --arg regex --arg override --if-any-arg-is-regex --- number: 199 definition_file: "when" description: "Check positional_contains (ignoring case)" send: "crazy-complete-test positionals FOO --" bash_expected: | > crazy-complete-test positionals FOO -- --if-positional-contains-nocase --if-positional-count > crazy-complete-test positionals FOO --if-positional-co fish_expected: | > crazy-complete-test positionals FOO --if-positional-co …tional-contains-nocase …tional-count zsh_expected: | > crazy-complete-test positionals FOO --if-positional-co --- number: 200 definition_file: "when" description: "Check positional_match" send: "crazy-complete-test positionals regex --" bash_expected: | > crazy-complete-test positionals regex -- --if-positional-count --if-positional-regex-nocase --if-positional-regex > crazy-complete-test positionals regex --if-positional- fish_expected: | > crazy-complete-test positionals regex --if-positional- …sitional-count …sitional-regex …sitional-regex-nocase zsh_tabs: 2 zsh_expected: | > crazy-complete-test positionals regex --if-positional- --if-positional-count --if-positional-regex-nocase --if-positional-regex --- number: 201 definition_file: "when" description: "Check positional_match (ignoring case)" send: "crazy-complete-test positionals REGEX --" bash_expected: | > crazy-complete-test positionals REGEX -- --if-positional-count --if-positional-regex-nocase > crazy-complete-test positionals REGEX --if-positional- fish_expected: | > crazy-complete-test positionals REGEX --if-positional- …sitional-count …sitional-regex-nocase zsh_tabs: 2 zsh_expected: | > crazy-complete-test positionals REGEX --if-positional- --if-positional-count --if-positional-regex-nocase