--json for structured output that agents can parse. Colored output (spinners, tables, progress bars) goes to stderr. JSON data goes to stdout.
Output contract
The CLI has two output modes:Human mode (default)
Colored output to stderr. Tables, spinners, success/error messages. Nothing on stdout.JSON mode (--json)
Structured JSON to stdout. Colored output still goes to stderr.
Agent pattern
Strip stderr, parse stdout:Global flags
| Flag | Description |
|---|---|
--json | Output structured JSON to stdout |
--dry-run | Preview what a command would do without executing it |
Dry run
--dry-run previews what a command will do without executing it.
Supported on: deploy, env set/remove/import, apps delete, domains add/remove, deploy rollback.
Configuration
The CLI stores config at~/.floo/config.json (permissions: 0600):
Environment variable override
| Variable | Description |
|---|---|
FLOO_API_URL | Override the API base URL |
FLOO_NO_UPDATE_CHECK | Disable automatic update checks |
Commands
| Command | Description |
|---|---|
floo auth login | Authenticate (opens browser) |
floo auth logout | Clear stored credentials |
floo auth whoami | Show current user |
floo auth token | Print API key to stdout |
floo auth register | Create a new account |
floo auth update-profile | Update display name |
floo init | Initialize project config files |
floo deploy | Deploy an app |
floo deploy list | List deploy history |
floo deploy logs | Show build logs |
floo deploy watch | Stream deploy progress |
floo deploy rollback | Rollback to previous deploy |
floo apps list | List all apps |
floo apps status | App details |
floo apps delete | Delete an app |
floo apps password | Show app shared password |
floo apps github connect | Connect GitHub repo |
floo apps github disconnect | Disconnect GitHub repo |
floo apps github status | GitHub connection status |
floo env set | Set env var |
floo env list | List env vars |
floo env remove | Remove env var |
floo env get | Get env var value |
floo env import | Import from .env file |
floo services list | List services |
floo services info | Service details |
floo services add | Add a service |
floo services rm | Remove a service |
floo domains add | Add custom domain |
floo domains list | List domains |
floo domains remove | Remove domain |
floo logs | View runtime logs |
floo releases list | List releases |
floo releases show | Release details |
floo releases promote | Promote to production |
floo billing usage | Current usage and plan |
floo billing upgrade | Upgrade plan |
floo billing spend-cap | Manage spend cap |
floo orgs members list | List org members |
floo orgs members set-role | Change member role |
floo analytics | Traffic analytics |
floo images list | List base images |
floo skills install | Install agent skill file |
floo docs | Built-in platform documentation |
floo commands | List all commands (structured for agents) |
floo billing contact | Enterprise contact info |
floo version | Print CLI version |
floo update | Self-update the CLI |