@wrenautomation/aerie 0.8.0 → 0.8.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/dist/bin.js +5 -1
- package/dist/bin.js.map +2 -2
- package/dist/cli.js +4 -0
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -42218,7 +42218,9 @@ function registerCommands(program3, ctx) {
|
|
|
42218
42218
|
"pool_lanes",
|
|
42219
42219
|
"pool_command",
|
|
42220
42220
|
"pool_idle_min",
|
|
42221
|
-
"run_cap"
|
|
42221
|
+
"run_cap",
|
|
42222
|
+
// D20 B: the host's door for `aerie setup --remote` clients; on | off. Never settable over the wire
|
|
42223
|
+
"remote_store"
|
|
42222
42224
|
];
|
|
42223
42225
|
const config2 = program3.command("config").description(`board settings: statuses, task_prefix, ${SETTINGS.join(", ")}`);
|
|
42224
42226
|
config2.command("get").argument("<key>").action(
|
|
@@ -42231,6 +42233,8 @@ function registerCommands(program3, ctx) {
|
|
|
42231
42233
|
const k = key === "task_prefix" ? "prefix" : key;
|
|
42232
42234
|
if (k !== "prefix" && !SETTINGS.includes(k))
|
|
42233
42235
|
throw new Error(`aerie config: ${key} is not settable`);
|
|
42236
|
+
if (k === "remote_store" && !["on", "off"].includes(value))
|
|
42237
|
+
throw new Error("aerie config: remote_store is on or off");
|
|
42234
42238
|
return ctx.withStore(async (a) => {
|
|
42235
42239
|
await a.setSetting(k, value, ctx.by);
|
|
42236
42240
|
print3(`${key} ${value}
|