File: list.yaml

package info (click to toggle)
crazy-complete 0.3.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,528 kB
  • sloc: python: 13,342; sh: 995; makefile: 68
file content (24 lines) | stat: -rw-r--r-- 768 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
prog: "crazy-complete-test"
options:
  - option_strings: ["--list"]
    complete: ["list", ["choices", ["one", "two", "three"]]]

  - option_strings: ["--duplicate-list"]
    complete: ["list", ["choices", ["one", "two", "three"]], {'duplicates': true}]
    
  - option_strings: ["--colon-list"]
    complete: ["list", ["choices", ["one", "two", "three"]], {'separator': ':'}]

  - option_strings: ["--combined-list"]
    complete: ["list", ["combine", [
      ["choices", ["one", "two", "three"]],
      ["exec", "seq 3"]]]]

  - option_strings: ["--user-list"]
    complete: ["list", ["user"]]

  - option_strings: ["--image-list"]
    complete: ["list", ["mime_file", "image/"]]

  - option_strings: ["--video-list"]
    complete: ["list", ["mime_file", "video/"]]