@capawesome/cli 1.13.2 → 1.14.0-dev.3b0fc7e.1755934102
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/CHANGELOG.md +7 -0
- package/README.md +7 -3
- package/dist/commands/apps/bundles/create.js +218 -234
- package/dist/commands/apps/bundles/create.test.js +276 -0
- package/dist/commands/apps/bundles/delete.js +47 -55
- package/dist/commands/apps/bundles/delete.test.js +139 -0
- package/dist/commands/apps/bundles/update.js +73 -84
- package/dist/commands/apps/bundles/update.test.js +141 -0
- package/dist/commands/apps/channels/create.js +57 -70
- package/dist/commands/apps/channels/create.test.js +119 -0
- package/dist/commands/apps/channels/delete.js +58 -64
- package/dist/commands/apps/channels/delete.test.js +141 -0
- package/dist/commands/apps/channels/get.js +52 -94
- package/dist/commands/apps/channels/get.test.js +135 -0
- package/dist/commands/apps/channels/list.js +37 -82
- package/dist/commands/apps/channels/list.test.js +121 -0
- package/dist/commands/apps/channels/update.js +50 -77
- package/dist/commands/apps/channels/update.test.js +138 -0
- package/dist/commands/apps/create.js +39 -42
- package/dist/commands/apps/create.test.js +117 -0
- package/dist/commands/apps/delete.js +41 -45
- package/dist/commands/apps/delete.test.js +120 -0
- package/dist/commands/apps/devices/delete.js +47 -55
- package/dist/commands/apps/devices/delete.test.js +139 -0
- package/dist/commands/doctor.js +12 -29
- package/dist/commands/doctor.test.js +52 -0
- package/dist/commands/login.js +50 -71
- package/dist/commands/login.test.js +116 -0
- package/dist/commands/logout.js +13 -31
- package/dist/commands/logout.test.js +47 -0
- package/dist/commands/manifests/generate.js +20 -38
- package/dist/commands/manifests/generate.test.js +60 -0
- package/dist/commands/organizations/create.js +25 -0
- package/dist/commands/organizations/create.test.js +80 -0
- package/dist/commands/whoami.js +20 -31
- package/dist/commands/whoami.test.js +30 -0
- package/dist/config/consts.js +4 -5
- package/dist/config/index.js +1 -17
- package/dist/index.js +54 -80
- package/dist/services/app-bundle-files.js +117 -136
- package/dist/services/app-bundles.js +22 -41
- package/dist/services/app-channels.js +54 -77
- package/dist/services/app-devices.js +10 -25
- package/dist/services/apps.js +25 -41
- package/dist/services/authorization-service.js +4 -8
- package/dist/services/config.js +15 -28
- package/dist/services/organizations.js +26 -0
- package/dist/services/session-code.js +7 -22
- package/dist/services/sessions.js +13 -30
- package/dist/services/update.js +17 -55
- package/dist/services/users.js +11 -26
- package/dist/types/app-bundle-file.js +1 -2
- package/dist/types/app-bundle.js +1 -2
- package/dist/types/app-channel.js +1 -2
- package/dist/types/app-device.js +1 -2
- package/dist/types/app.js +1 -2
- package/dist/types/index.js +8 -23
- package/dist/types/npm-package.js +1 -2
- package/dist/types/organization.js +1 -0
- package/dist/types/session-code.js +1 -2
- package/dist/types/session.js +1 -2
- package/dist/types/user.js +1 -2
- package/dist/utils/buffer.js +12 -43
- package/dist/utils/error.js +24 -14
- package/dist/utils/file.js +22 -41
- package/dist/utils/hash.js +3 -39
- package/dist/utils/http-client.js +27 -53
- package/dist/utils/manifest.js +11 -24
- package/dist/utils/private-key.js +23 -0
- package/dist/utils/prompt.js +9 -26
- package/dist/utils/signature.js +3 -39
- package/dist/utils/user-config.js +12 -0
- package/dist/utils/zip.js +11 -27
- package/package.json +22 -9
- package/dist/utils/ci.js +0 -7
- package/dist/utils/userConfig.js +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.14.0](https://github.com/capawesome-team/cli/compare/v1.13.2...v1.14.0) (2025-08-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* support multiple organizations ([#58](https://github.com/capawesome-team/cli/issues/58)) ([09cc225](https://github.com/capawesome-team/cli/commit/09cc2258d4b6a2a619651166a1ac290baa7a3b67))
|
|
11
|
+
|
|
5
12
|
## [1.13.2](https://github.com/capawesome-team/cli/compare/v1.13.1...v1.13.2) (2025-07-28)
|
|
6
13
|
|
|
7
14
|
|
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# cli
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@capawesome/cli)
|
|
4
|
+
[](https://www.npmjs.com/package/@capawesome/cli)
|
|
5
|
+
[](https://github.com/capawesome-team/cli/blob/main/LICENSE)
|
|
6
|
+
|
|
3
7
|
💻 The Capawesome Cloud Command Line Interface (CLI) can be used to manage [Live Updates](https://capawesome.io/cloud/) from the command line.
|
|
4
8
|
|
|
5
9
|
## Installation
|
|
@@ -12,10 +16,10 @@ npm install -g @capawesome/cli
|
|
|
12
16
|
|
|
13
17
|
## Usage
|
|
14
18
|
|
|
15
|
-
The Capawesome Cloud CLI can be invoked with the
|
|
19
|
+
The Capawesome Cloud CLI can be invoked with the `@capawesome/cli` command.
|
|
16
20
|
|
|
17
21
|
```bash
|
|
18
|
-
npx capawesome <command> [options]
|
|
22
|
+
npx @capawesome/cli <command> [options]
|
|
19
23
|
```
|
|
20
24
|
|
|
21
25
|
You can find a list of available commands in the [Command Reference](https://capawesome.io/cloud/cli/).
|
|
@@ -25,7 +29,7 @@ You can find a list of available commands in the [Command Reference](https://cap
|
|
|
25
29
|
The Capawesome Cloud CLI ships with command documentation that is accessible with the `--help` flag.
|
|
26
30
|
|
|
27
31
|
```bash
|
|
28
|
-
npx capawesome --help
|
|
32
|
+
npx @capawesome/cli --help
|
|
29
33
|
```
|
|
30
34
|
|
|
31
35
|
## Development
|