@roarkanalytics/cli 0.52.0 → 0.54.0
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 +14 -0
- package/commands.js +25 -0
- package/completions.js +4 -4
- package/man/roark-simulation-plan-update.1 +9 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/runtime/program.js +5 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -86,6 +86,15 @@ The reference value, shown first in the results. See `POST /v1/simulation/plan`.
|
|
|
86
86
|
.TP
|
|
87
87
|
\fB\-\-comparison\-values\fR \fI<value>\fR
|
|
88
88
|
The arms to run. See `POST /v1/simulation/plan`. Omitting it keeps the arms the plan already has, pins included, so an edit that only renames the plan never widens a sweep you deliberately narrowed, and never multiplies what it costs. Send it with `comparisonProperty` and `flows`, which the arms are rebuilt from. Optional.
|
|
89
|
+
.TP
|
|
90
|
+
\fB\-\-notifications\fR \fI<value>\fR
|
|
91
|
+
Where each run's report announces itself once it is ready. Optional.
|
|
92
|
+
.TP
|
|
93
|
+
\fB\-\-notifications.email\fR \fI<value>\fR
|
|
94
|
+
Optional.
|
|
95
|
+
.TP
|
|
96
|
+
\fB\-\-notifications.slack\fR \fI<value>\fR
|
|
97
|
+
Channels in the project's connected Slack workspace to post the report to (at most 10). Slack must be connected to the project first. Optional.
|
|
89
98
|
.SH "GLOBAL OPTIONS"
|
|
90
99
|
.TP
|
|
91
100
|
\fB\-\-data\fR \fI<json>\fR
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roarkanalytics/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@roarkanalytics/cli",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.54.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@roarkanalytics/sdk": "^5.12.0",
|
package/package.json
CHANGED
package/runtime/program.js
CHANGED
|
@@ -22,6 +22,7 @@ const config_2 = require("./config");
|
|
|
22
22
|
const errors_1 = require("./errors");
|
|
23
23
|
const input_1 = require("./input");
|
|
24
24
|
const output_1 = require("./output");
|
|
25
|
+
const version_1 = require("../version");
|
|
25
26
|
/** Verbs whose effect a user cannot undo, so they get a confirmation prompt. */
|
|
26
27
|
const DESTRUCTIVE_VERBS = new Set(['delete']);
|
|
27
28
|
const isDestructive = (command) => DESTRUCTIVE_VERBS.has(command.commandPath.at(-1) ?? '');
|
|
@@ -142,6 +143,10 @@ const clientFor = (options, requiresAuth = true) => {
|
|
|
142
143
|
...(config.baseURL === undefined ? {} : { baseURL: config.baseURL }),
|
|
143
144
|
...(config.timeout === undefined ? {} : { timeout: config.timeout }),
|
|
144
145
|
...(config.maxRetries === undefined ? {} : { maxRetries: config.maxRetries }),
|
|
146
|
+
// Tells the API this request came from the CLI. The SDK's own user agent is
|
|
147
|
+
// the same for every program built on it, so without this a CLI command is
|
|
148
|
+
// counted as plain SDK usage.
|
|
149
|
+
defaultHeaders: { 'X-Roark-Client': `cli/${version_1.version}` },
|
|
145
150
|
});
|
|
146
151
|
};
|
|
147
152
|
const resolveOutput = (options) => ({
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.54.0";
|
package/version.js
CHANGED