@getroomi/cli 0.1.0 → 0.2.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/README.md +5 -1
- package/package.json +1 -1
- package/roomi.js +6906 -1575
package/README.md
CHANGED
|
@@ -6,14 +6,18 @@ their own link.
|
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
8
|
npm install -g @getroomi/cli
|
|
9
|
-
roomi login # in the browser; the token goes in the macOS Keychain
|
|
9
|
+
roomi login # in the browser; the token goes in the macOS Keychain (elsewhere, a file only you can read)
|
|
10
10
|
roomi init # reads the repository and writes pitch.json
|
|
11
11
|
roomi deploy # a rehearsal: builds, scans, runs, and says what would go live
|
|
12
12
|
roomi deploy --commit
|
|
13
13
|
roomi link "Tom" # a link for one viewer, printed for you to send
|
|
14
14
|
roomi link copy Tom # the same link again, if Tom loses it
|
|
15
|
+
roomi logs -f # what the live build's server is printing, redacted
|
|
16
|
+
roomi rollback # which build would go live; --commit makes it so
|
|
15
17
|
```
|
|
16
18
|
|
|
19
|
+
In CI, set `ROOMI_TOKEN` to an API token made in the app's Settings.
|
|
20
|
+
|
|
17
21
|
Or run it without installing: `npx @getroomi/cli deploy`. The package also installs
|
|
18
22
|
`pitch`, the command's name before Roomi, which does the same.
|
|
19
23
|
|