@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/dist/index.js +350 -72
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/theme/README.md +17 -0
package/package.json
CHANGED
|
@@ -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
|
+
```
|