> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fabro.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI restructuring, shell completions, and API versioning

## CLI command restructuring

The CLI command tree has been reorganized for consistency and discoverability. Sandbox-related commands (`cp`, `ssh`, `preview`) now live under `fabro sandbox`, the server command is now `fabro server start`, settings are shown with `fabro settings`, and the deprecated `fabro init` command has been removed.

<Warning>
  **Breaking CLI changes.** Several commands have moved or been renamed:

  * `fabro serve` → `fabro server start`
  * `fabro config show` → `fabro settings`
  * `fabro cp` → `fabro sandbox cp`
  * `fabro ssh` → `fabro sandbox ssh`
  * `fabro preview` → `fabro sandbox preview`
  * `fabro init` has been removed
</Warning>

## Shell completions

You can now generate shell completions for Bash, Zsh, Fish, Elvish, and PowerShell using the new `fabro completion` subcommand.

```bash theme={"languages":{"custom":["/languages/dot.json","/languages/fabro.json"]}}
fabro completion zsh > ~/.zfunc/_fabro
```

<Warning>
  **API routes versioned.** All REST API routes are now prefixed with `/api/v1`. Update any direct API integrations accordingly.
</Warning>

## More

<Accordion title="CLI">
  * Added `fabro completion` subcommand for Bash, Zsh, Fish, Elvish, and PowerShell
  * Added help text snapshots for all subcommands
</Accordion>

<Accordion title="Improvements">
  * Typed `RunId` used consistently across the codebase
</Accordion>

<Accordion title="Fixes">
  * Fixed cli-table ignoring `NO_COLOR` environment variable
</Accordion>
