File: complex.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 (16 lines) | stat: -rw-r--r-- 605 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
prog: "crazy-complete-test"
positionals:
  - number: 1
    repeatable: true
    complete: ['combine', [
      ['prefix', 'log:', ['key_value_list', ',', '=', [
        ['level',  'specify log level',     ['choices', ['info', 'debug', 'warn', 'error']]],
        ['format', 'specify output format', ['choices', ['text', 'json']]],
      ]]],

      ['prefix', 'output:', ['key_value_list', ',', '=', [
        ['sync',   'disable buffering',     null],
        ['file',   'specify output file',   ['file']],
        ['mode',   'specify output mode',   ['choices', ['append', 'truncate']]]
      ]]]
    ]]