fabro/docs/public/changelog/2026-03-30.mdx
Bryan Helmkamp 283eab181f
refactor(docs): split docs/ into public/ and internal/
Invert the docs convention so the Mintlify-published site lives under
docs/public/ and internal artifacts (strategy docs, brainstorms, plans,
etc.) sit at docs/ root or docs/internal/. Tools that default to writing
into docs/ now land in the catch-all instead of leaking into the
published tree.

- Move Mintlify content (administration/, agents/, api-reference/,
  changelog/, core-concepts/, examples/, execution/, getting-started/,
  human-tools/, integrations/, languages/, reference/, tutorials/,
  workflows/, images/, logo/, docs.json, favicon.svg, dot-highlight.js)
  into docs/public/.
- Collapse docs-internal/ into docs/internal/.
- Update Rust path references (fabro-api/build.rs, fabro-server,
  fabro-dev), TypeScript generator arg, CI path filters, clippy.toml
  reasons, AGENTS.md/CLAUDE.md, and README.md image refs.

Mintlify dashboard project root must be updated to docs/public/ in a
follow-up. .mintignore move/trim and .claude/skills/ updates land in a
separate commit.
2026-04-27 07:21:13 -07:00

46 lines
1.5 KiB
Text

---
title: "CLI restructuring, shell completions, and API versioning"
date: "2026-03-30"
---
## 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
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>