@rushstack/ts-command-line 4.22.5 → 4.22.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +17 -0
- package/CHANGELOG.md +6 -1
- package/README.md +1 -1
- package/package.json +2 -2
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/ts-command-line",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "4.22.6",
|
|
6
|
+
"tag": "@rushstack/ts-command-line_v4.22.6",
|
|
7
|
+
"date": "Wed, 21 Aug 2024 05:43:04 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Fix a README typo."
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"dependency": [
|
|
15
|
+
{
|
|
16
|
+
"comment": "Updating dependency \"@rushstack/terminal\" to `0.14.0`"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
4
21
|
{
|
|
5
22
|
"version": "4.22.5",
|
|
6
23
|
"tag": "@rushstack/ts-command-line_v4.22.5",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Change Log - @rushstack/ts-command-line
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 21 Aug 2024 05:43:04 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 4.22.6
|
|
6
|
+
Wed, 21 Aug 2024 05:43:04 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
4
9
|
|
|
5
10
|
## 4.22.5
|
|
6
11
|
Mon, 12 Aug 2024 22:16:04 GMT
|
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ Several different kinds of parameters are supported:
|
|
|
45
45
|
| flag | `--verbose` | `boolean` | Value is `true` if the flag was specified on the command line, `false` otherwise. |
|
|
46
46
|
| integer | `--max-retry 3` | `int` | The argument is an integer number |
|
|
47
47
|
| string | `--title "Hello, world"` | `string` | The argument is a text string. |
|
|
48
|
-
| choice | `--color red` | `string` | The argument
|
|
48
|
+
| choice | `--color red` | `string` | The argument must be a string from a list of allowed choices (similar to an enum). |
|
|
49
49
|
| string list | `-o file1.txt -o file2.txt` | `string[]` | The argument is a text string. The parameter can be specified multiple times to build a list. |
|
|
50
50
|
|
|
51
51
|
Other parameter kinds could be implemented if requested. That said, keeping your CLI grammar simple and systematic makes it easier for users to learn.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/ts-command-line",
|
|
3
|
-
"version": "4.22.
|
|
3
|
+
"version": "4.22.6",
|
|
4
4
|
"description": "An object-oriented command-line parser for TypeScript",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@types/argparse": "1.0.38",
|
|
15
15
|
"argparse": "~1.0.9",
|
|
16
16
|
"string-argv": "~0.3.1",
|
|
17
|
-
"@rushstack/terminal": "0.
|
|
17
|
+
"@rushstack/terminal": "0.14.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@rushstack/heft": "0.66.17",
|