Skip to content

Commit 32aad85

Browse files
chore: bump SDK version to 21.1.0
1 parent 540225f commit 32aad85

30 files changed

Lines changed: 467 additions & 58 deletions

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Appwrite Command Line SDK
22

33
![License](https://img.shields.io/github/license/appwrite/sdk-for-cli.svg?style=flat-square)
4-
![Version](https://img.shields.io/badge/api%20version-1.9.4-blue.svg?style=flat-square)
4+
![Version](https://img.shields.io/badge/api%20version-1.9.5-blue.svg?style=flat-square)
55
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
66
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
2929

3030
```sh
3131
$ appwrite -v
32-
21.0.0
32+
21.1.0
3333
```
3434

3535
### Install using prebuilt binaries
@@ -83,7 +83,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
8383
Once the installation completes, you can verify your install using
8484
```
8585
$ appwrite -v
86-
21.0.0
86+
21.1.0
8787
```
8888

8989
## Getting Started

cli.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,17 @@ import { locale } from './lib/commands/services/locale.js';
4545
import { messaging } from './lib/commands/services/messaging.js';
4646
import { migrations } from './lib/commands/services/migrations.js';
4747
import { organizations } from './lib/commands/services/organizations.js';
48+
import { presences } from './lib/commands/services/presences.js';
4849
import { project } from './lib/commands/services/project.js';
4950
import { projects } from './lib/commands/services/projects.js';
5051
import { proxy } from './lib/commands/services/proxy.js';
52+
import { advisor } from './lib/commands/services/advisor.js';
5153
import { sites } from './lib/commands/services/sites.js';
5254
import { storage } from './lib/commands/services/storage.js';
5355
import { tablesDB } from './lib/commands/services/tables-db.js';
5456
import { teams } from './lib/commands/services/teams.js';
5557
import { tokens } from './lib/commands/services/tokens.js';
58+
import { usage } from './lib/commands/services/usage.js';
5659
import { users } from './lib/commands/services/users.js';
5760
import { vcs } from './lib/commands/services/vcs.js';
5861
import { webhooks } from './lib/commands/services/webhooks.js';
@@ -215,14 +218,17 @@ if (process.argv.includes('-v') || process.argv.includes('--version')) {
215218
.addCommand(messaging)
216219
.addCommand(migrations)
217220
.addCommand(organizations)
221+
.addCommand(presences)
218222
.addCommand(project)
219223
.addCommand(projects)
220224
.addCommand(proxy)
225+
.addCommand(advisor)
221226
.addCommand(sites)
222227
.addCommand(storage)
223228
.addCommand(tablesDB)
224229
.addCommand(teams)
225230
.addCommand(tokens)
231+
.addCommand(usage)
226232
.addCommand(users)
227233
.addCommand(vcs)
228234
.addCommand(webhooks)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
```bash
2+
appwrite advisor delete-report \
3+
--report-id <REPORT_ID>
4+
```
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
```bash
2+
appwrite advisor get-insight \
3+
--report-id <REPORT_ID> \
4+
--insight-id <INSIGHT_ID>
5+
```
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
```bash
2+
appwrite advisor get-report \
3+
--report-id <REPORT_ID>
4+
```
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
```bash
2+
appwrite advisor list-insights \
3+
--report-id <REPORT_ID> \
4+
--limit 25
5+
```
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
```bash
2+
appwrite advisor list-reports \
3+
--limit 25
4+
```

docs/examples/presences/delete.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
```bash
2+
appwrite presences delete \
3+
--presence-id <PRESENCE_ID>
4+
```
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```bash
2+
appwrite presences get-usage
3+
```

docs/examples/presences/get.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
```bash
2+
appwrite presences get \
3+
--presence-id <PRESENCE_ID>
4+
```

0 commit comments

Comments
 (0)