-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathadr.ts
38 lines (38 loc) · 1019 Bytes
/
adr.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
const completionSpec: Fig.Spec = {
name: "adr",
description: "Manage Architectural Design Records",
subcommands: [
{
name: "init",
description:
"Create an ADR directory in the root of your project, example usage: ' adr init doc/architecture/decisions'",
args: {
name: "Location where to create the ADR, example 'adr init doc/architecture/decisions'",
},
},
{
name: "new",
description: "Create a new, numbered ADR file",
options: [
{
name: "-s",
description:
"Create a new ADR that supercedes a previous one (ADR 9, for example), use the -s option",
args: {
name: "number",
description: "Which ADR to supercede",
},
},
],
args: {
name: "ADR name",
description: "Name for the ADR separated with '-'",
},
},
{
name: "help",
description: "Built in help",
},
],
};
export default completionSpec;