@slayzone/cli 0.37.0 → 0.37.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/slay.js +2 -2
- package/package.json +1 -1
package/dist/slay.js
CHANGED
|
@@ -47070,7 +47070,7 @@ var import_node_child_process3 = require("node:child_process");
|
|
|
47070
47070
|
var import_node_fs9 = require("node:fs");
|
|
47071
47071
|
var import_node_module = require("node:module");
|
|
47072
47072
|
var import_node_path9 = require("node:path");
|
|
47073
|
-
var CLI_VERSION = true ? "0.37.
|
|
47073
|
+
var CLI_VERSION = true ? "0.37.1" : "";
|
|
47074
47074
|
function fail(message) {
|
|
47075
47075
|
console.error(message);
|
|
47076
47076
|
process.exit(1);
|
|
@@ -49702,7 +49702,7 @@ function updateCommand() {
|
|
|
49702
49702
|
}
|
|
49703
49703
|
|
|
49704
49704
|
// src/index.ts
|
|
49705
|
-
var program2 = new Command().name("slay").description("SlayZone CLI").version("0.37.
|
|
49705
|
+
var program2 = new Command().name("slay").description("SlayZone CLI").version("0.37.1").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) => {
|
|
49706
49706
|
const root = thisCommand.parent ?? thisCommand;
|
|
49707
49707
|
const opts = root.opts();
|
|
49708
49708
|
if (opts.dev) process.env.SLAYZONE_DEV = "1";
|