| 1 | // Autogenerated by @fig/complete-commander |
| 2 | |
| 3 | const completionSpec: Fig.Spec = { |
| 4 | name: "command", |
| 5 | subcommands: [ |
| 6 | { |
| 7 | name: "build", |
| 8 | description: "build web site for deployment", |
| 9 | options: [ |
| 10 | { |
| 11 | name: ["-h", "--help"], |
| 12 | description: "display help for command", |
| 13 | priority: 49, |
| 14 | }, |
| 15 | ], |
| 16 | }, |
| 17 | { |
| 18 | name: "deploy", |
| 19 | description: "deploy web site to production", |
| 20 | options: [ |
| 21 | { |
| 22 | name: ["-h", "--help"], |
| 23 | description: "display help for command", |
| 24 | priority: 49, |
| 25 | }, |
| 26 | ], |
| 27 | }, |
| 28 | { |
| 29 | name: "serve", |
| 30 | description: "launch web server", |
| 31 | options: [ |
| 32 | { |
| 33 | name: ["-p", "--port"], |
| 34 | description: "web port", |
| 35 | args: { name: "port_number" }, |
| 36 | }, |
| 37 | { |
| 38 | name: ["-h", "--help"], |
| 39 | description: "display help for command", |
| 40 | priority: 49, |
| 41 | }, |
| 42 | ], |
| 43 | }, |
| 44 | { |
| 45 | name: "help", |
| 46 | description: "display help for command", |
| 47 | priority: 49, |
| 48 | args: { name: "command", isOptional: true, template: "help" }, |
| 49 | }, |
| 50 | ], |
| 51 | options: [ |
| 52 | { |
| 53 | name: ["-h", "--help"], |
| 54 | description: "display help for command", |
| 55 | priority: 49, |
| 56 | }, |
| 57 | ], |
| 58 | }; |
| 59 | |
| 60 | export default completionSpec; |
| 61 |