Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,11 @@ The complete generated command reference is available in [docs/commands/dbxcli.m

### Output formats

Text output is the default. JSON output is available through the global `--output` flag for migrated commands:
Text output is the default. JSON output is available through the global `--output` flag for migrated commands and for help manifests:

```sh
$ dbxcli ls --output=json /
$ dbxcli ls --help --output=json
```

Command results are written to stdout. Status, progress, human-facing warnings, diagnostics, and verbose logs are written to stderr.
Expand Down Expand Up @@ -210,7 +211,7 @@ In JSON mode, error responses are written to stdout and the process exits with a
}
```

The full JSON command catalog, stable error codes, and schemas live in [docs/json-schema/v1](https://github.com/dropbox/dbxcli/tree/master/docs/json-schema/v1). Commands that intentionally do not support JSON output yet include `login`, `logout`, and `completion`. Help output and shell-completion protocol commands are text-only.
The full JSON command catalog, stable error codes, and schemas live in [docs/json-schema/v1](https://github.com/dropbox/dbxcli/tree/master/docs/json-schema/v1). Commands that intentionally do not support structured command-result JSON yet include `login`, `logout`, and `completion`, but their help is available as JSON with `--help --output=json`. Shell-completion protocol commands remain text-only.

### Authentication

Expand Down
1 change: 1 addition & 0 deletions cmd/add-member.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,5 @@ var addMemberCmd = &cobra.Command{
func init() {
teamCmd.AddCommand(addMemberCmd)
enableStructuredOutput(addMemberCmd)
setCommandDestructiveLevel(addMemberCmd, destructiveLevelAdmin)
}
Loading
Loading