@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.
Files changed (2) hide show
  1. package/README.md +7 -16
  2. 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
- | Deployment | `WORKCORD_API_URL` |
34
- | --- | --- |
35
- | WorkCord prod | `https://work-rooms-api.wizeup.app` |
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://via-rooms-api.wizeup.app rooms list
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://via-rooms-api.wizeup.app auth login --email you@via.com --save
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 WorkCord by logging in and saving again:
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fulldivevr/workcord-cli",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "CLI for the WorkCord API. One invocation = one user action.",
5
5
  "private": false,
6
6
  "license": "UNLICENSED",