File: key_value_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 (12 lines) | stat: -rw-r--r-- 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
prog: "crazy-complete-test"
options:
  - option_strings: ["-o"]
    complete: ["key_value_list", ',', '=', [
      ['async',  'set async mode',      null],
      ['nocomp', 'no completer',        ["none"]],
      ['animal', 'select an animal',    ["choices", ["cat", "dog", "horse"]]],
      ['number', 'select a number',     ["choices", {"0": "zero", "1": "one", "2": "two"}]],
      ['user',   'select a user',       ["user"]],
      ['proc',   'select a process',    ['combine', [["pid"], ['process']]]],
      ['file',   null,                  ["file", {"directory": "%TEST_DIR%/test_data"}]]
    ]]