Debian Codegraph @

integrations/commander/test/fixtures/options-variadic/expected.ts

raw symbols SCIP
1 // Autogenerated by @fig/complete-commander
2
3 const completionSpec: Fig.Spec = {
4 name: "command",
5 subcommands: [
6 {
7 name: "help",
8 description: "display help for command",
9 priority: 49,
10 args: { name: "command", isOptional: true, template: "help" },
11 },
12 ],
13 options: [
14 {
15 name: ["-n", "--number"],
16 description: "specify numbers",
17 args: { name: "value", isVariadic: true },
18 },
19 {
20 name: ["-l", "--letter"],
21 description: "specify letters",
22 args: { name: "value", isOptional: true, isVariadic: true },
23 },
24 {
25 name: ["-h", "--help"],
26 description: "display help for command",
27 priority: 49,
28 },
29 ],
30 };
31
32 export default completionSpec;
33