| 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 | hidden: true, |
| 10 | options: [ |
| 11 | { |
| 12 | name: ["-h", "--help"], |
| 13 | description: "display help for command", |
| 14 | priority: 49, |
| 15 | }, |
| 16 | ], |
| 17 | }, |
| 18 | { |
| 19 | name: "deploy", |
| 20 | description: "deploy web site to production", |
| 21 | options: [ |
| 22 | { |
| 23 | name: ["-h", "--help"], |
| 24 | description: "display help for command", |
| 25 | priority: 49, |
| 26 | }, |
| 27 | ], |
| 28 | }, |
| 29 | { |
| 30 | name: "serve", |
| 31 | description: "launch web server", |
| 32 | options: [ |
| 33 | { |
| 34 | name: ["-p", "--port"], |
| 35 | description: "web port", |
| 36 | args: { name: "port_number" }, |
| 37 | }, |
| 38 | { |
| 39 | name: ["-h", "--help"], |
| 40 | description: "display help for command", |
| 41 | priority: 49, |
| 42 | }, |
| 43 | ], |
| 44 | }, |
| 45 | { |
| 46 | name: "help", |
| 47 | description: "display help for command", |
| 48 | priority: 49, |
| 49 | args: { name: "command", isOptional: true, template: "help" }, |
| 50 | }, |
| 51 | ], |
| 52 | options: [ |
| 53 | { |
| 54 | name: ["-h", "--help"], |
| 55 | description: "display help for command", |
| 56 | priority: 49, |
| 57 | }, |
| 58 | ], |
| 59 | }; |
| 60 | |
| 61 | export default completionSpec; |
| 62 |