Debian Codegraph @

integrations/commander/test/fixtures/options-choices/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: ["-d", "--drink"],
16 description: "drink cup size",
17 args: { name: "size", suggestions: ["small", "medium", "large"] },
18 },
19 {
20 name: ["-h", "--help"],
21 description: "display help for command",
22 priority: 49,
23 },
24 ],
25 };
26
27 export default completionSpec;
28