@slayzone/cli 0.36.0-beta.21 → 0.36.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/slay.js +2 -2
- package/package.json +1 -1
package/dist/slay.js
CHANGED
|
@@ -36434,7 +36434,7 @@ var import_node_child_process2 = require("node:child_process");
|
|
|
36434
36434
|
var import_node_fs6 = require("node:fs");
|
|
36435
36435
|
var import_node_module = require("node:module");
|
|
36436
36436
|
var import_node_path7 = require("node:path");
|
|
36437
|
-
var CLI_VERSION = true ? "0.36.0
|
|
36437
|
+
var CLI_VERSION = true ? "0.36.0" : "";
|
|
36438
36438
|
function fail(message) {
|
|
36439
36439
|
console.error(message);
|
|
36440
36440
|
process.exit(1);
|
|
@@ -38664,7 +38664,7 @@ function updateCommand() {
|
|
|
38664
38664
|
}
|
|
38665
38665
|
|
|
38666
38666
|
// src/index.ts
|
|
38667
|
-
var program2 = new Command().name("slay").description("SlayZone CLI").version("0.36.0
|
|
38667
|
+
var program2 = new Command().name("slay").description("SlayZone CLI").version("0.36.0").option("--dev", "Use development database (slayzone.dev.data.sqlite)").option("--hub <name|port>", "Target a specific hub on this machine (see `slay hub ls`)").showSuggestionAfterError(true).showHelpAfterError(true).hook("preAction", async (thisCommand) => {
|
|
38668
38668
|
const root = thisCommand.parent ?? thisCommand;
|
|
38669
38669
|
const opts = root.opts();
|
|
38670
38670
|
if (opts.dev) process.env.SLAYZONE_DEV = "1";
|