flowdeck init
Save project settings (workspace, scheme, simulator) so you can run build/run/test/clean commands without parameters. This is the recommended way to set up FlowDeck for static CLI usage.After running
flowdeck init, all subsequent commands use the saved settings automatically. You only need to specify parameters when you want to override the defaults.Options
| Option | Short | Description |
|---|---|---|
--examples | Show usage examples | |
--project <path> | -p | Project directory (defaults to current) |
--workspace <path> | -w | Path to .xcworkspace or .xcodeproj |
--scheme <name> | -s | Scheme name |
--configuration <name> | -C | Build configuration (Debug/Release) |
--simulator <name> | -S | Simulator name or UDID |
--device <name> | -D | Device name or UDID (use ‘My Mac’ for macOS) |
--json | -j | Output as JSON |
--force | -f | Re-initialize even if already configured |
After Init
Once initialized, run commands without parameters:Stored Configuration
Configuration is saved to.flowdeck/state.json in the project directory:
The
.flowdeck/ directory can be committed to version control to share project configuration with your team.Recommended Workflow for AI Agents
Thecontext -> init workflow is the recommended approach for AI agents and CI/CD:
