> For the complete documentation index, see [llms.txt](https://docs.acecloud.ai/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acecloud.ai/knowledge-base/cli/global-flags.md).

# Global Flags

Available on every `ace` command.

| Flag        | Short | Description                                      |
| ----------- | ----- | ------------------------------------------------ |
| `--output`  | `-o`  | Output format: `table` (default), `json`, `yaml` |
| `--verbose` | `-v`  | Show full API responses                          |
| `--project` |       | Override project ID for this command             |
| `--region`  |       | Override region for this command                 |
| `--help`    | `-h`  | Help for any command                             |

***

## Output Formats

```bash
# Table (default)
ace instance list

# JSON (for scripting)
ace instance list -o json

# YAML
ace instance list -o yaml

# Pipe to jq
ace instance list -o json | jq '.data[].name'
```

***

## Project & Region Override

Run commands against a different project or region without changing config:

```bash
# Different project
ace instance list --project <other-project-id>

# Different region
ace flavor list --region us-east-1

# Both
ace instance list --project <id> --region us-east-1
```

***

## Precedence

```
CLI flag > Environment variable > Config file > Default
```
