@erdoai/cli 0.119.1 → 0.120.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/dist/index.js +5 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7020,6 +7020,7 @@ refreshCmd.command("show <slug>").description(
|
|
|
7020
7020
|
}
|
|
7021
7021
|
const rows = [];
|
|
7022
7022
|
rows.push(["strategy", res.strategy || "(none recorded)"]);
|
|
7023
|
+
if (res.experiment_run_id) rows.push(["experiment", res.experiment_run_id]);
|
|
7023
7024
|
rows.push(["writes", describeRefreshWrites(res.strategy, res.refresh_mode, res.key_column, res.live_write_mode)]);
|
|
7024
7025
|
rows.push(["trigger", describeRefreshTrigger(res)]);
|
|
7025
7026
|
if (res.schedule) {
|
|
@@ -7126,6 +7127,9 @@ refreshCmd.command("set <slug>").description(
|
|
|
7126
7127
|
).option(
|
|
7127
7128
|
"--parameters <@file>",
|
|
7128
7129
|
"JSON file: all configuration values for this recipe; omitting clears previous PARAMETERS values"
|
|
7130
|
+
).option(
|
|
7131
|
+
"--experiment-run-id <uuid>",
|
|
7132
|
+
"bind this measurement refresh to its experiment so it stops when the experiment settles; must match parameters.experiment_run_id when present"
|
|
7129
7133
|
).action(
|
|
7130
7134
|
async (slug, opts) => {
|
|
7131
7135
|
try {
|
|
@@ -7146,6 +7150,7 @@ refreshCmd.command("set <slug>").description(
|
|
|
7146
7150
|
return;
|
|
7147
7151
|
}
|
|
7148
7152
|
const body = { strategy: opts.strategy };
|
|
7153
|
+
if (opts.experimentRunId !== void 0) body.experiment_run_id = opts.experimentRunId;
|
|
7149
7154
|
if (opts.mode) body.refresh_mode = opts.mode;
|
|
7150
7155
|
if (opts.keyColumn) body.key_column = opts.keyColumn;
|
|
7151
7156
|
if (opts.schedule) body.schedule = opts.schedule;
|