Arguments
| Argument | Description | Default |
|---|---|---|
PATH | Project directory to validate | . (current directory) |
Flags
| Flag | Description |
|---|---|
--app APP | Existing app name to validate against |
--services NAME | Validate only specific services (repeatable) |
Examples
What it checks
- Config files — reads
floo.app.toml(and any per-servicefloo.service.tomlin a delegated layout) and validates structure - Service discovery — resolves all services, checks for duplicates and naming rules
- Port validation — verifies ports are set and match Dockerfile
EXPOSEdirectives - Runtime detection — scans project files to determine language and framework
- Env file check — verifies referenced
env_filepaths exist on disk - Managed services — lists declared Postgres, Redis, or Storage resources
JSON output
Errors
| Code | Meaning |
|---|---|
INVALID_PATH | Path is not a valid directory |
NO_CONFIG_FOUND | No floo.app.toml found. Run floo init first |
CONFIG_INVALID | Validation failed (duplicate service names, invalid ports, etc.) |
SERVICE_CONFIG_MISSING | A delegated service declared in floo.app.toml is missing its floo.service.toml |