| 1 | // Autogenerated by @fig/complete-commander |
| 2 | |
| 3 | const completionSpec: Fig.Spec = { |
| 4 | name: "command", |
| 5 | subcommands: [ |
| 6 | { |
| 7 | name: "upload", |
| 8 | options: [ |
| 9 | { |
| 10 | name: ["-p", "--port"], |
| 11 | description: "port number", |
| 12 | args: { name: "number", default: "80" }, |
| 13 | }, |
| 14 | { |
| 15 | name: ["-h", "--help"], |
| 16 | description: "display help for command", |
| 17 | priority: 49, |
| 18 | }, |
| 19 | ], |
| 20 | args: [{ name: "file" }], |
| 21 | }, |
| 22 | { |
| 23 | name: "help", |
| 24 | description: "display help for command", |
| 25 | priority: 49, |
| 26 | args: { name: "command", isOptional: true, template: "help" }, |
| 27 | }, |
| 28 | ], |
| 29 | options: [ |
| 30 | { name: ["-p", "--progress"] }, |
| 31 | { |
| 32 | name: ["-h", "--help"], |
| 33 | description: "display help for command", |
| 34 | priority: 49, |
| 35 | }, |
| 36 | ], |
| 37 | }; |
| 38 | |
| 39 | export default completionSpec; |
| 40 |