@slayzone/cli 0.36.0-beta.8

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/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # @slayzone/cli (`slay`)
2
+
3
+ Command-line control for SlayZone hubs, plus tasks, terminals and projects.
4
+
5
+ npm install -g @slayzone/cli
6
+
7
+ ## Hubs on this machine
8
+
9
+ slay hub create <name> # create a hub in this directory and keep it running
10
+ slay hub ls # every hub running on this machine
11
+ slay hub logs <name>
12
+ slay hub stop <name> # stop it, keep it registered
13
+ slay hub start <name> # bring a stopped hub back
14
+ slay hub rm <name> # stop it and remove its registration
15
+
16
+ `hub create` registers the hub with your OS service manager (launchd on macOS,
17
+ systemd --user on Linux), so it restarts if it crashes and starts again when you
18
+ log in. Names are unique per machine — `create` fails if one already exists. To
19
+ run a hub in the foreground instead, use `npx @slayzone/hub`.
20
+
21
+ ## Targeting a hub
22
+
23
+ slay hub use <name|url> # point this CLI at a hub
24
+ slay hub current # which hub am I pointed at?
25
+ slay --hub staging tasks list # one-off override
26
+
27
+ GPL-3.0-only. Source: https://github.com/debuglebowski/slayzone
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }