Debian Codegraph @

integrations/commander/test/fixtures/command-alias/expected.ts

raw symbols SCIP
1 // Autogenerated by @fig/complete-commander
2
3 const completionSpec: Fig.Spec = {
4 name: "command",
5 description: "Fake package manager",
6 subcommands: [
7 {
8 name: ["install", "i"],
9 description: "install one or more packages",
10 options: [
11 {
12 name: ["-h", "--help"],
13 description: "display help for command",
14 priority: 49,
15 },
16 ],
17 args: [{ name: "name", isOptional: true }],
18 },
19 {
20 name: ["search", "s"],
21 description: "search with optional query",
22 options: [
23 {
24 name: ["-h", "--help"],
25 description: "display help for command",
26 priority: 49,
27 },
28 ],
29 args: [{ name: "query", isOptional: true }],
30 },
31 {
32 name: "help",
33 description: "display help for command",
34 priority: 49,
35 args: { name: "command", isOptional: true, template: "help" },
36 },
37 ],
38 options: [
39 { name: ["-V", "--version"], description: "output the version number" },
40 {
41 name: ["-h", "--help"],
42 description: "display help for command",
43 priority: 49,
44 },
45 ],
46 };
47
48 export default completionSpec;
49