appwrite-cli 17.0.0 → 17.1.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/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/cli.ts +6 -0
- package/dist/bundle-win-arm64.mjs +489 -122
- package/dist/cli.cjs +489 -122
- package/dist/index.cjs +175 -85
- package/dist/index.js +175 -85
- package/dist/lib/commands/services/organizations.d.ts +3 -0
- package/dist/lib/commands/services/organizations.d.ts.map +1 -0
- package/dist/lib/commands/services/teams.d.ts.map +1 -1
- package/dist/lib/constants.d.ts +1 -1
- package/dist/lib/emulation/utils.d.ts.map +1 -1
- package/dist/lib/parser.d.ts.map +1 -1
- package/dist/lib/types.d.ts +1 -0
- package/dist/lib/types.d.ts.map +1 -1
- package/docs/examples/organizations/add-credit.md +5 -0
- package/docs/examples/organizations/cancel-downgrade.md +4 -0
- package/docs/examples/organizations/create-downgrade-feedback.md +8 -0
- package/docs/examples/organizations/create-invoice-payment.md +6 -0
- package/docs/examples/organizations/create-key.md +6 -0
- package/docs/examples/organizations/create.md +6 -0
- package/docs/examples/organizations/delete-backup-payment-method.md +4 -0
- package/docs/examples/organizations/delete-default-payment-method.md +4 -0
- package/docs/examples/organizations/delete-key.md +5 -0
- package/docs/examples/organizations/delete.md +4 -0
- package/docs/examples/organizations/estimation-create-organization.md +4 -0
- package/docs/examples/organizations/estimation-delete-organization.md +4 -0
- package/docs/examples/organizations/estimation-update-plan.md +5 -0
- package/docs/examples/organizations/get-aggregation.md +5 -0
- package/docs/examples/organizations/get-available-credits.md +4 -0
- package/docs/examples/organizations/get-credit.md +5 -0
- package/docs/examples/organizations/get-invoice-download.md +5 -0
- package/docs/examples/organizations/get-invoice-view.md +5 -0
- package/docs/examples/organizations/get-invoice.md +5 -0
- package/docs/examples/organizations/get-key.md +5 -0
- package/docs/examples/organizations/get-plan.md +4 -0
- package/docs/examples/organizations/get-scopes.md +4 -0
- package/docs/examples/organizations/get-usage.md +4 -0
- package/docs/examples/organizations/list-aggregations.md +4 -0
- package/docs/examples/organizations/list-credits.md +4 -0
- package/docs/examples/organizations/list-keys.md +4 -0
- package/docs/examples/organizations/list-regions.md +4 -0
- package/docs/examples/organizations/list.md +3 -0
- package/docs/examples/organizations/set-backup-payment-method.md +5 -0
- package/docs/examples/organizations/set-billing-address.md +5 -0
- package/docs/examples/organizations/set-billing-email.md +5 -0
- package/docs/examples/organizations/set-billing-tax-id.md +5 -0
- package/docs/examples/organizations/set-default-payment-method.md +5 -0
- package/docs/examples/organizations/update-budget.md +5 -0
- package/docs/examples/organizations/update-key.md +7 -0
- package/docs/examples/organizations/update-plan.md +5 -0
- package/docs/examples/organizations/validate-invoice.md +5 -0
- package/docs/examples/organizations/validate-payment.md +4 -0
- package/install.ps1 +2 -2
- package/install.sh +1 -1
- package/lib/commands/services/migrations.ts +2 -2
- package/lib/commands/services/organizations.ts +517 -0
- package/lib/commands/services/projects.ts +2 -2
- package/lib/commands/services/proxy.ts +2 -2
- package/lib/commands/services/teams.ts +10 -1
- package/lib/commands/services/vcs.ts +2 -2
- package/lib/constants.ts +1 -1
- package/lib/emulation/utils.ts +3 -2
- package/lib/parser.ts +149 -27
- package/lib/questions.ts +2 -2
- package/lib/sdks.ts +1 -0
- package/lib/types.ts +1 -0
- package/package.json +1 -1
- package/scoop/appwrite.config.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 17.1.0
|
|
4
|
+
|
|
5
|
+
* Added `organizations` command group with multiple subcommands
|
|
6
|
+
* Added `--raw` option for full raw JSON output in version command
|
|
7
|
+
* Updated docs for `organizations` commands with new examples
|
|
8
|
+
|
|
3
9
|
## 17.0.0
|
|
4
10
|
|
|
5
11
|
* [BREAKING] Changed `$sequence` type from `int` to `string` for rows and documents
|
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
|
|
|
29
29
|
|
|
30
30
|
```sh
|
|
31
31
|
$ appwrite -v
|
|
32
|
-
17.
|
|
32
|
+
17.1.0
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
### Install using prebuilt binaries
|
|
@@ -60,7 +60,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
|
|
|
60
60
|
Once the installation completes, you can verify your install using
|
|
61
61
|
```
|
|
62
62
|
$ appwrite -v
|
|
63
|
-
17.
|
|
63
|
+
17.1.0
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
## Getting Started
|
package/cli.ts
CHANGED
|
@@ -34,6 +34,7 @@ import { health } from './lib/commands/services/health.js';
|
|
|
34
34
|
import { locale } from './lib/commands/services/locale.js';
|
|
35
35
|
import { messaging } from './lib/commands/services/messaging.js';
|
|
36
36
|
import { migrations } from './lib/commands/services/migrations.js';
|
|
37
|
+
import { organizations } from './lib/commands/services/organizations.js';
|
|
37
38
|
import { project } from './lib/commands/services/project.js';
|
|
38
39
|
import { projects } from './lib/commands/services/projects.js';
|
|
39
40
|
import { proxy } from './lib/commands/services/proxy.js';
|
|
@@ -98,6 +99,7 @@ if (process.argv.includes('-v') || process.argv.includes('--version')) {
|
|
|
98
99
|
.version(version, '-v, --version', 'Output the version number')
|
|
99
100
|
.option('-V, --verbose', 'Show complete error log')
|
|
100
101
|
.option('-j, --json', 'Output in JSON format')
|
|
102
|
+
.option('-R, --raw', 'Output full raw JSON (no filtering)')
|
|
101
103
|
.hook('preAction', migrate)
|
|
102
104
|
.option('-f,--force', 'Flag to confirm all warnings')
|
|
103
105
|
.option('-a,--all', 'Flag to push all resources')
|
|
@@ -106,6 +108,9 @@ if (process.argv.includes('-v') || process.argv.includes('--version')) {
|
|
|
106
108
|
.on('option:json', () => {
|
|
107
109
|
cliConfig.json = true;
|
|
108
110
|
})
|
|
111
|
+
.on('option:raw', () => {
|
|
112
|
+
cliConfig.raw = true;
|
|
113
|
+
})
|
|
109
114
|
.on('option:verbose', () => {
|
|
110
115
|
cliConfig.verbose = true;
|
|
111
116
|
})
|
|
@@ -145,6 +150,7 @@ if (process.argv.includes('-v') || process.argv.includes('--version')) {
|
|
|
145
150
|
.addCommand(locale)
|
|
146
151
|
.addCommand(messaging)
|
|
147
152
|
.addCommand(migrations)
|
|
153
|
+
.addCommand(organizations)
|
|
148
154
|
.addCommand(project)
|
|
149
155
|
.addCommand(projects)
|
|
150
156
|
.addCommand(proxy)
|