openmates 0.18.0-alpha.8 → 0.18.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 +15 -0
- package/dist/{chunk-3CF6O4L6.js → chunk-VUCGBEOO.js} +4526 -3982
- package/dist/{cli-BLFXUeuE.d.ts → cli-DDNwbX2B.d.ts} +141 -7
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +3 -1
- package/dist/index.d.ts +3 -113
- package/dist/index.js +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -54,6 +54,21 @@ openmates whoami --json
|
|
|
54
54
|
The CLI displays a QR code or pair PIN. Approve it in the OpenMates web app.
|
|
55
55
|
During login, the CLI never asks for your account password.
|
|
56
56
|
|
|
57
|
+
Switch to a dev account using an isolated profile; upgrading to an alpha release
|
|
58
|
+
preserves your existing login and does not change the API server:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
openmates --profile dev --api-url https://api.dev.openmates.org login
|
|
62
|
+
export OPENMATES_PROFILE=dev
|
|
63
|
+
openmates whoami
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Approve pairing in the dev web app with your dev account. The profile saves the
|
|
67
|
+
API URL. Run `unset OPENMATES_PROFILE` to return to the default profile, keeping
|
|
68
|
+
its existing production login. Without an environment selection, pass
|
|
69
|
+
`--profile dev` on each dev command. Release/update channels and login profiles
|
|
70
|
+
are independent.
|
|
71
|
+
|
|
57
72
|
Create a new account from the terminal:
|
|
58
73
|
|
|
59
74
|
```bash
|