Skip to content

Commit

Permalink
Merge pull request #837 from appwrite/feat-document-cli-json
Browse files Browse the repository at this point in the history
Document the CLI's --json flag
  • Loading branch information
Vincent (Wen Yu) Ge authored Apr 2, 2024
2 parents c833d4a + 919d5fe commit b4eaca3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/routes/docs/tooling/command-line/commands/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Other than commands to create and deploy databases, collections, functions, team
Commands follows the following general syntax:

```sh
appwrite [COMMAND] --[OPTIONS]
appwrite [COMMAND] [OPTIONS]
```

# List {% #list %}
Expand Down Expand Up @@ -72,6 +72,13 @@ In case of errors with any command, you can get more information about what went
appwrite users list --verbose
```

# JSON {% #json %}
By default, output is rendered in a tabular format. To format the output as JSON, use the `--json` flag.

```sh
appwrite users list --json
```

# Examples {% #examples %}

## Create user {% #create-user %}
Expand Down

0 comments on commit b4eaca3

Please sign in to comment.