| 1 | // Autogenerated by @fig/complete-commander |
| 2 | |
| 3 | const completionSpec: Fig.Spec = { |
| 4 | name: "command", |
| 5 | description: "example program for argument", |
| 6 | subcommands: [ |
| 7 | { |
| 8 | name: "help", |
| 9 | description: "display help for command", |
| 10 | priority: 49, |
| 11 | args: { name: "command", isOptional: true, template: "help" }, |
| 12 | }, |
| 13 | ], |
| 14 | options: [ |
| 15 | { name: ["-V", "--version"], description: "output the version number" }, |
| 16 | { |
| 17 | name: ["-h", "--help"], |
| 18 | description: "display help for command", |
| 19 | priority: 49, |
| 20 | }, |
| 21 | ], |
| 22 | args: [ |
| 23 | { name: "username", description: "user to login" }, |
| 24 | { |
| 25 | name: "password", |
| 26 | description: "password for user, if required", |
| 27 | isOptional: true, |
| 28 | default: "no password given", |
| 29 | }, |
| 30 | ], |
| 31 | }; |
| 32 | |
| 33 | export default completionSpec; |
| 34 |