File: command_arg.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 (21 lines) | stat: -rw-r--r-- 646 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
prog: crazy-complete-test
options:
  - option_strings: ['--command-path']
    complete: ['command', {'path': '%TEST_DIR%/test_data/bin'}]

  - option_strings: ['--command-path-append']
    complete: ['command', {'path_append': '%TEST_DIR%/test_data/bin'}]

  - option_strings: ['--command-path-prepend']
    complete: ['command', {'path_prepend': '%TEST_DIR%/test_data/bin'}]

  - option_strings: ['--command-path-append-prepend']
    complete: ['command', {'path_append': '/tmp', 'path_prepend': '%TEST_DIR%/test_data/bin'}]

positionals:
  - number: 1
    complete: ['command']

  - number: 2
    complete: ['command_arg']
    repeatable: true