@chainpatrol/cli 0.23.0 → 0.23.1
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.md +10 -0
- package/dist/cli.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @chainpatrol/cli
|
|
2
2
|
|
|
3
|
+
## 0.23.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0f1d7d1: Fix `asset search` bulk lookups by ID. The `--id` (and `--asset`) flags are
|
|
8
|
+
documented and handled as repeatable for bulk lookup, but meow rejected the
|
|
9
|
+
second occurrence with `The flag --id can only be set once.`. Mark both flags
|
|
10
|
+
`isMultiple` so `chainpatrol asset search --id 1 --id 2 --id 3` works as
|
|
11
|
+
advertised instead of erroring out.
|
|
12
|
+
|
|
3
13
|
## 0.23.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/dist/cli.js
CHANGED
|
@@ -921,7 +921,7 @@ ${getTopLevelHelp()}
|
|
|
921
921
|
description: { type: "string" },
|
|
922
922
|
cron: { type: "string" },
|
|
923
923
|
mergeConfig: { type: "boolean", default: true },
|
|
924
|
-
asset: { type: "string" },
|
|
924
|
+
asset: { type: "string", isMultiple: true },
|
|
925
925
|
limit: { type: "number" },
|
|
926
926
|
cursor: { type: "number" },
|
|
927
927
|
status: { type: "string" },
|
|
@@ -978,7 +978,7 @@ ${getTopLevelHelp()}
|
|
|
978
978
|
noInput: { type: "boolean", default: false },
|
|
979
979
|
noColor: { type: "boolean", default: false },
|
|
980
980
|
cloud: { type: "boolean", default: false },
|
|
981
|
-
id: { type: "string" }
|
|
981
|
+
id: { type: "string", isMultiple: true }
|
|
982
982
|
}
|
|
983
983
|
});
|
|
984
984
|
var [command, subcommand, action] = cli.input;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@chainpatrol/cli",
|
|
3
3
|
"description": "The official ChainPatrol CLI — terminal interface for threat detection",
|
|
4
4
|
"author": "Umar Ahmed <umar@chainpatrol.io>",
|
|
5
|
-
"version": "0.23.
|
|
5
|
+
"version": "0.23.1",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"homepage": "https://chainpatrol.com/docs/cli",
|
|
8
8
|
"keywords": [
|