@fulldivevr/workcord-cli 1.2.0 → 1.2.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/README.md +7 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,15 +30,9 @@ Base URL must be a bare origin (scheme + host, no path). The `/api/v1` prefix
|
|
|
30
30
|
is added by the CLI. Resolution order is `--base-url`, `WORKCORD_API_URL`,
|
|
31
31
|
saved configuration, then the WorkCord production default.
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
| VIA | `https://via-rooms-api.wizeup.app` |
|
|
37
|
-
| RoomCord prod | `https://rooms-api.wizeup.app` |
|
|
38
|
-
| RoomCord dev | `https://rooms-api-dev.wizeup.app` |
|
|
39
|
-
| JesusCord | `https://jesuscord-api.wizeup.app` |
|
|
40
|
-
| Local WorkCord | `http://localhost:3001` |
|
|
41
|
-
| Local RoomCord / JesusCord | `http://localhost:3000` |
|
|
33
|
+
Your deployment's origin comes from whoever operates it. A local server is
|
|
34
|
+
`http://localhost:3001` (WorkCord) or `http://localhost:3000` (RoomCord /
|
|
35
|
+
JesusCord).
|
|
42
36
|
|
|
43
37
|
```bash
|
|
44
38
|
workcord auth login --email you@company.com --save
|
|
@@ -49,20 +43,17 @@ workcord rooms list
|
|
|
49
43
|
Use another server for one command:
|
|
50
44
|
|
|
51
45
|
```bash
|
|
52
|
-
workcord --base-url https://
|
|
46
|
+
workcord --base-url https://your-server.example.com rooms list
|
|
53
47
|
```
|
|
54
48
|
|
|
55
49
|
Save another server and login for future commands:
|
|
56
50
|
|
|
57
51
|
```bash
|
|
58
|
-
workcord --base-url https://
|
|
52
|
+
workcord --base-url https://your-server.example.com auth login --email you@company.com --save
|
|
59
53
|
```
|
|
60
54
|
|
|
61
|
-
Reset the saved server to
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
workcord --base-url https://work-rooms-api.wizeup.app auth login --email you@company.com --save
|
|
65
|
-
```
|
|
55
|
+
Reset the saved server to the built-in default by clearing `baseUrl` from
|
|
56
|
+
`~/.workcord/config.json` and logging in again.
|
|
66
57
|
|
|
67
58
|
Output is JSON on stdout, errors on stderr, non-zero exit on failure.
|
|
68
59
|
|