@tablation/crew 0.158.2 → 0.158.3
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/cli.js +11 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -16801,6 +16801,15 @@ function versionRequest(argv2) {
|
|
|
16801
16801
|
function helpRequest(argv2) {
|
|
16802
16802
|
return argv2[0] === "--help" || argv2[0] === "-h" || argv2[0] === "help";
|
|
16803
16803
|
}
|
|
16804
|
+
function commandHelpRequest(argv2) {
|
|
16805
|
+
for (let i = 1; i < argv2.length; i++) {
|
|
16806
|
+
const a = argv2[i];
|
|
16807
|
+
if (a === "--") return false;
|
|
16808
|
+
if (a === "--help" || a === "-h") return true;
|
|
16809
|
+
if (a.startsWith("--") && !a.includes("=") && VALUE_FLAGS.has(a.slice(2))) i++;
|
|
16810
|
+
}
|
|
16811
|
+
return false;
|
|
16812
|
+
}
|
|
16804
16813
|
|
|
16805
16814
|
// src/roster.ts
|
|
16806
16815
|
function memberByIdentity(roster, identityId) {
|
|
@@ -28540,7 +28549,7 @@ import { dirname as dirOf2, resolve as resolvePath } from "path";
|
|
|
28540
28549
|
import { existsSync as existsSync56, readdirSync as readdirSync18, statSync as statSync17 } from "fs";
|
|
28541
28550
|
import { join as join60 } from "path";
|
|
28542
28551
|
function builtVersion() {
|
|
28543
|
-
return true ? "0.158.
|
|
28552
|
+
return true ? "0.158.3" : null;
|
|
28544
28553
|
}
|
|
28545
28554
|
var REBUILD_HINT = "rebuild with npm run build";
|
|
28546
28555
|
function newestMtime(path) {
|
|
@@ -30907,6 +30916,7 @@ var KNOWN_COMMANDS = /* @__PURE__ */ new Set([
|
|
|
30907
30916
|
"worktree"
|
|
30908
30917
|
]);
|
|
30909
30918
|
if (!KNOWN_COMMANDS.has(command)) usage(`unknown command "${command}"`);
|
|
30919
|
+
if (commandHelpRequest(argv)) usage(void 0, true);
|
|
30910
30920
|
if (command === "shell-init") {
|
|
30911
30921
|
const asked = value("shell");
|
|
30912
30922
|
if (asked !== void 0 && !SHELLS.includes(asked)) {
|
package/package.json
CHANGED