@@ -46,13 +46,13 @@ appwrite projects get --project-id "<PROJECT_ID>"
4646## Configuration
4747
4848```bash
49- appwrite client --endpoint https://<REGION >.cloud.appwrite.io/v1
50- appwrite client --key <API _KEY>
51- appwrite client --self-signed true # for self-signed SSL certs
52- appwrite client --reset # reset CLI configuration
53- appwrite client --debug # print current configuration
49+ # Authenticate with Appwrite
50+ appwrite login
5451```
5552
53+ > For the full list of CLI commands, see [CLI Commands](https://appwrite.io/docs/tooling/command-line/commands).
54+ > For headless / CI/CD usage, see [Non-Interactive Mode](https://appwrite.io/docs/tooling/command-line/non-interactive).
55+
5656## appwrite.config.json
5757
5858All resources are configured in a single `appwrite.config.json` file at the project root:
@@ -258,59 +258,59 @@ appwrite push tables
258258}
259259```
260260
261- ### Database commands
261+ ### Database commands (TablesDB)
262262
263263| Command | Description |
264264|---------|-------------|
265- | `appwrite databases list-tables --database-id <ID >` | List tables |
266- | `appwrite databases create-table --database-id <ID >` | Create table |
267- | `appwrite databases get-table --database-id <ID > --table-id <ID >` | Get table |
268- | `appwrite databases update-table --database-id <ID > --table-id <ID >` | Update table |
269- | `appwrite databases delete-table --database-id <ID > --table-id <ID >` | Delete table |
270- | `appwrite databases list-columns --database-id <ID > --table-id <ID >` | List columns |
271- | `appwrite databases get-column --database-id <ID > --table-id <ID > --key <KEY >` | Get column |
272- | `appwrite databases delete-column --database-id <ID > --table-id <ID > --key <KEY >` | Delete column |
273- | `appwrite databases list-indexes --database-id <ID > --table-id <ID >` | List indexes |
274- | `appwrite databases create-index --database-id <ID > --table-id <ID >` | Create index |
275- | `appwrite databases delete-index --database-id <ID > --table-id <ID > --key <KEY >` | Delete index |
265+ | `appwrite tables-db list-tables --database-id <ID >` | List tables |
266+ | `appwrite tables-db create-table --database-id <ID >` | Create table |
267+ | `appwrite tables-db get-table --database-id <ID > --table-id <ID >` | Get table |
268+ | `appwrite tables-db update-table --database-id <ID > --table-id <ID >` | Update table |
269+ | `appwrite tables-db delete-table --database-id <ID > --table-id <ID >` | Delete table |
270+ | `appwrite tables-db list-columns --database-id <ID > --table-id <ID >` | List columns |
271+ | `appwrite tables-db get-column --database-id <ID > --table-id <ID > --key <KEY >` | Get column |
272+ | `appwrite tables-db delete-column --database-id <ID > --table-id <ID > --key <KEY >` | Delete column |
273+ | `appwrite tables-db list-column -indexes --database-id <ID > --table-id <ID >` | List indexes |
274+ | `appwrite tables-db create-column -index --database-id <ID > --table-id <ID >` | Create index |
275+ | `appwrite tables-db delete-column -index --database-id <ID > --table-id <ID > --key <KEY >` | Delete index |
276276
277277### Column type commands
278278
279279> **Note:** The legacy `string` type is deprecated. Use explicit string column types instead.
280280
281281| Command | Description |
282282|---------|-------------|
283- | `create-varchar-attribute ` | Varchar column — inline storage, fully indexable (max 16,383 chars, size ≤ 768 for full index) |
284- | `create-text-attribute ` | Text column — off-page storage, prefix index only (max 16,383 chars) |
285- | `create-mediumtext-attribute ` | Mediumtext column — off-page storage (max ~4M chars) |
286- | `create-longtext-attribute ` | Longtext column — off-page storage (max ~1B chars) |
287- | `create-boolean-attribute ` | Boolean column |
288- | `create-integer-attribute ` | Integer column (optional min/max) |
289- | `create-float-attribute ` | Float column (optional min/max) |
290- | `create-email-attribute ` | Email column |
291- | `create-url-attribute ` | URL column |
292- | `create-ip-attribute ` | IP address column |
293- | `create-datetime-attribute ` | Datetime column (ISO 8601) |
294- | `create-enum-attribute ` | Enum column (whitelist of accepted values) |
295- | `create-relationship-attribute ` | Relationship column |
296-
297- All column commands use `appwrite databases <command > --database-id <ID > --table-id <ID >`.
283+ | `create-varchar-column ` | Varchar column — inline storage, fully indexable (max 16,383 chars, size ≤ 768 for full index) |
284+ | `create-text-column ` | Text column — off-page storage, prefix index only (max 16,383 chars) |
285+ | `create-mediumtext-column ` | Mediumtext column — off-page storage (max ~4M chars) |
286+ | `create-longtext-column ` | Longtext column — off-page storage (max ~1B chars) |
287+ | `create-boolean-column ` | Boolean column |
288+ | `create-integer-column ` | Integer column (optional min/max) |
289+ | `create-float-column ` | Float column (optional min/max) |
290+ | `create-email-column ` | Email column |
291+ | `create-url-column ` | URL column |
292+ | `create-ip-column ` | IP address column |
293+ | `create-datetime-column ` | Datetime column (ISO 8601) |
294+ | `create-enum-column ` | Enum column (whitelist of accepted values) |
295+ | `create-relationship-column ` | Relationship column |
296+
297+ All column commands use `appwrite tables-db <command > --database-id <ID > --table-id <ID >`.
298298
299299### Row operations
300300
301301```bash
302302# Create a row
303- appwrite databases create-row \
303+ appwrite tables-db create-row \
304304 --database-id "<DATABASE _ID>" --table-id "<TABLE _ID>" \
305305 --row-id 'unique()' --data '{ "title": "Hello World" }' \
306306 --permissions 'read("any")' 'write("team:abc")'
307307
308308# List rows (JSON output)
309- appwrite databases list-rows \
309+ appwrite tables-db list-rows \
310310 --database-id "<DATABASE _ID>" --table-id "<TABLE _ID>" --json
311311
312312# Get a row
313- appwrite databases get-row \
313+ appwrite tables-db get-row \
314314 --database-id "<DATABASE _ID>" --table-id "<TABLE _ID>" --row-id "<ROW _ID>"
315315```
316316
@@ -410,8 +410,7 @@ appwrite push topics
410410```bash
411411# Create a user
412412appwrite users create --user-id "unique()" \
413- --email hello@appwrite.io \
414- --password very_strong_password
413+ --email hello@appwrite.io
415414
416415# List users
417416appwrite users list
@@ -484,15 +483,7 @@ await customers.createMany([
484483
485484## Non-Interactive / CI/CD Mode
486485
487- For headless automation without config files or sessions:
488-
489- ```bash
490- # Configure client for non-interactive mode
491- appwrite client \
492- --endpoint https://<REGION >.cloud.appwrite.io/v1 \
493- --project-id <PROJECT _ID> \
494- --key <API _KEY>
495- ```
486+ For headless automation, see the [Non-Interactive Mode docs](https://appwrite.io/docs/tooling/command-line/non-interactive).
496487
497488### Deploy non-interactively
498489
@@ -535,7 +526,7 @@ appwrite users list --json
535526appwrite users list --verbose
536527
537528# View a row in the Console
538- appwrite databases get-row \
529+ appwrite tables-db get-row \
539530 --database-id "<DATABASE _ID>" \
540531 --table-id "<TABLE _ID>" \
541532 --row-id "<ROW _ID>" \
0 commit comments