@sudajs/cli 0.15.0 → 0.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudajs/cli",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "suda": "./bin/suda.js"
@@ -45,3 +45,20 @@ pnpm build
45
45
  suda theme screenshot # optional
46
46
  suda theme publish
47
47
  ```
48
+
49
+ The CLI can keep credentials for more than one SudaCloud workspace host. Log in to each host once,
50
+ then switch the default used by remote commands. In an interactive terminal, omit `--host` from
51
+ login, status, logout, or publish to choose a host with the arrow keys:
52
+
53
+ ```bash
54
+ suda auth login --host app.sudayun.cn
55
+ suda auth login --host app.sudaweb.ai
56
+ suda host list
57
+ suda host switch app.sudayun.cn
58
+ ```
59
+
60
+ To publish to another authenticated host without changing the current default, use:
61
+
62
+ ```bash
63
+ suda theme publish --host app.sudaweb.ai
64
+ ```