Skip to content

Commit a580e11

Browse files
committed
Adds aliases to ToolInfo test data.
1 parent cc5ad95 commit a580e11

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"serializationVersion": 0,
33
"command": {
4-
"commandName": "empty-example"
4+
"commandName": "empty-example",
5+
"aliases": [
6+
7+
]
58
}
69
}

Tests/ArgumentParserToolInfoTests/Examples/example1.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,18 @@
66
"parent1"
77
],
88
"commandName": "full-example",
9+
"aliases": [
10+
11+
],
912
"abstract": "this command does everything",
1013
"discussion": "like actually everything",
1114
"defaultSubcommand": "do-thing",
1215
"subcommands": [
1316
{
14-
"commandName": "sub"
17+
"commandName": "sub",
18+
"aliases": [
19+
20+
]
1521
}
1622
],
1723
"arguments": [
@@ -63,6 +69,6 @@
6369
"isRepeating": false,
6470
"parsingStrategy" : "default",
6571
}
66-
]
72+
],
6773
}
6874
}

0 commit comments

Comments
 (0)