test/tests/inherit-options.yaml
raw| 1 | prog: "crazy-complete-test" |
| 2 | options: |
| 3 | - option_strings: ['--option'] |
| 4 | repeatable: true |
| 5 | complete: ["choices", ["1", "2", "3"]] |
| 6 | --- |
| 7 | prog: "crazy-complete-test subcommand" |
| 8 | options: |
| 9 | - option_strings: ['--sub-bar'] |
| 10 | repeatable: true |
| 11 | complete: ["choices", ["1", "2", "3"]] |
| 12 | --- |
| 13 | prog: "crazy-complete-test subcommand lastcommand" |
| 14 | options: |
| 15 | - option_strings: ['--last-option'] |
| 16 | repeatable: true |
| 17 | complete: ["choices", ["1", "2", "3"]] |