Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Parsing

Sets flag parsing mode. One of:

  • interspersed mixed flags and positional arguments
  • non-interspersed flag parsing stopped after first positional argument
  • disabled flag parsing disabled
name: command
commands:
  - name: parsing
    persistentflags:
      --bool: bool flag
      --string=: string flag
    commands:
      - name: interspersed
        parsing: interspersed
        completion:
          positionalany: [one, two, three]
      - name: non-interspersed
        parsing: non-interspersed
        completion:
          positionalany: [one, two, three]
      - name: disabled
        parsing: disabled
        completion:
          positionalany: [one, two, three]