@silicaclaw/cli 1.0.0-beta.30 → 1.0.0-beta.31
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/package.json
CHANGED
|
@@ -429,24 +429,16 @@ function update() {
|
|
|
429
429
|
function help() {
|
|
430
430
|
headline();
|
|
431
431
|
console.log("");
|
|
432
|
-
section("
|
|
432
|
+
section("Commands");
|
|
433
433
|
kv("Install", "npx -y @silicaclaw/cli@beta install");
|
|
434
|
-
kv("Start", "silicaclaw start
|
|
434
|
+
kv("Start", "silicaclaw start");
|
|
435
435
|
kv("Status", "silicaclaw status");
|
|
436
436
|
kv("Stop", "silicaclaw stop");
|
|
437
437
|
kv("Update", "silicaclaw update");
|
|
438
|
-
console.log("");
|
|
439
|
-
section("Setup and network");
|
|
440
438
|
kv("Onboard", "silicaclaw onboard");
|
|
441
439
|
kv("Connect", "silicaclaw connect");
|
|
442
|
-
kv("
|
|
443
|
-
kv("Signaling", "silicaclaw signaling");
|
|
444
|
-
console.log("");
|
|
445
|
-
section("Local apps");
|
|
446
|
-
kv("Console", "silicaclaw local-console");
|
|
447
|
-
kv("Explorer", "silicaclaw explorer");
|
|
440
|
+
kv("Logs", "silicaclaw logs local-console");
|
|
448
441
|
kv("Doctor", "silicaclaw doctor");
|
|
449
|
-
kv("Version", "silicaclaw version");
|
|
450
442
|
kv("Help", "silicaclaw help");
|
|
451
443
|
}
|
|
452
444
|
|
|
@@ -218,18 +218,12 @@ function readState() {
|
|
|
218
218
|
function printHelp() {
|
|
219
219
|
headline();
|
|
220
220
|
console.log("");
|
|
221
|
-
section("Gateway
|
|
222
|
-
kv("Start", "silicaclaw gateway start
|
|
221
|
+
section("Gateway");
|
|
222
|
+
kv("Start", "silicaclaw gateway start");
|
|
223
223
|
kv("Stop", "silicaclaw gateway stop");
|
|
224
|
-
kv("Restart", "silicaclaw gateway restart
|
|
224
|
+
kv("Restart", "silicaclaw gateway restart");
|
|
225
225
|
kv("Status", "silicaclaw gateway status");
|
|
226
226
|
kv("Logs", "silicaclaw gateway logs local-console");
|
|
227
|
-
console.log("");
|
|
228
|
-
section("Notes");
|
|
229
|
-
kv("App dir", "current directory, then ~/silicaclaw");
|
|
230
|
-
kv("State dir", ".silicaclaw/gateway");
|
|
231
|
-
kv("Default relay", "https://relay.silicaclaw.com");
|
|
232
|
-
kv("Default room", "silicaclaw-global-preview");
|
|
233
227
|
}
|
|
234
228
|
|
|
235
229
|
function buildStatusPayload() {
|
|
@@ -341,14 +335,12 @@ function tailFile(file, lines = 80) {
|
|
|
341
335
|
if (!existsSync(file)) {
|
|
342
336
|
headline();
|
|
343
337
|
console.log("");
|
|
344
|
-
|
|
345
|
-
kv("Path", file);
|
|
338
|
+
kv("Logs", "not found");
|
|
346
339
|
return;
|
|
347
340
|
}
|
|
348
341
|
headline();
|
|
349
342
|
console.log("");
|
|
350
|
-
|
|
351
|
-
kv("Path", file);
|
|
343
|
+
kv("Logs", file);
|
|
352
344
|
console.log("");
|
|
353
345
|
const text = String(readFileSync(file, "utf8"));
|
|
354
346
|
const out = text.split(/\r?\n/).slice(-lines).join("\n");
|