Debian Codegraph @

test/tests/list.yaml

raw
1 prog: "crazy-complete-test"
2 options:
3 - option_strings: ["--list"]
4 complete: ["list", ["choices", ["one", "two", "three"]]]
5
6 - option_strings: ["--duplicate-list"]
7 complete: ["list", ["choices", ["one", "two", "three"]], {'duplicates': true}]
8
9 - option_strings: ["--colon-list"]
10 complete: ["list", ["choices", ["one", "two", "three"]], {'separator': ':'}]
11
12 - option_strings: ["--combined-list"]
13 complete: ["list", ["combine", [
14 ["choices", ["one", "two", "three"]],
15 ["exec", "seq 3"]]]]
16
17 - option_strings: ["--user-list"]
18 complete: ["list", ["user"]]
19
20 - option_strings: ["--image-list"]
21 complete: ["list", ["mime_file", "image/"]]
22
23 - option_strings: ["--video-list"]
24 complete: ["list", ["mime_file", "video/"]]