Debian Codegraph @

integrations/commander/test/fixtures/options-required/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: ["-c", "--cheese"],
16 description: "pizza must have cheese",
17 isRequired: true,
18 args: { name: "type" },
19 },
20 {
21 name: ["-h", "--help"],
22 description: "display help for command",
23 priority: 49,
24 },
25 ],
26 };
27
28 export default completionSpec;
29