Debian Codegraph @

integrations/commander/test/fixtures/nested-commands/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: "brew",
8 subcommands: [
9 {
10 name: "tea",
11 options: [
12 {
13 name: ["-h", "--help"],
14 description: "display help for command",
15 priority: 49,
16 },
17 ],
18 },
19 {
20 name: "coffee",
21 options: [
22 {
23 name: ["-h", "--help"],
24 description: "display help for command",
25 priority: 49,
26 },
27 ],
28 },
29 {
30 name: "help",
31 description: "display help for command",
32 priority: 49,
33 args: { name: "command", isOptional: true, template: "help" },
34 },
35 ],
36 options: [
37 {
38 name: ["-h", "--help"],
39 description: "display help for command",
40 priority: 49,
41 },
42 ],
43 },
44 {
45 name: "heat",
46 subcommands: [
47 {
48 name: "jug",
49 options: [
50 {
51 name: ["-h", "--help"],
52 description: "display help for command",
53 priority: 49,
54 },
55 ],
56 },
57 {
58 name: "pot",
59 options: [
60 {
61 name: ["-h", "--help"],
62 description: "display help for command",
63 priority: 49,
64 },
65 ],
66 },
67 {
68 name: "help",
69 description: "display help for command",
70 priority: 49,
71 args: { name: "command", isOptional: true, template: "help" },
72 },
73 ],
74 options: [
75 {
76 name: ["-h", "--help"],
77 description: "display help for command",
78 priority: 49,
79 },
80 ],
81 },
82 {
83 name: "help",
84 description: "display help for command",
85 priority: 49,
86 args: { name: "command", isOptional: true, template: "help" },
87 },
88 ],
89 options: [
90 {
91 name: ["-h", "--help"],
92 description: "display help for command",
93 priority: 49,
94 },
95 ],
96 };
97
98 export default completionSpec;
99