stack-effect add
Incrementally add targets and modules to a scaffolded project. Resolves dependencies and implications automatically.
Usage
stack-effect add [flags]Options
| Option | Description |
|---|---|
--root, -r <dir> | Root directory of the repository (defaults to cwd) |
--target <targetKind>/<targetName>:<moduleId>[,...] | Target spec as <targetKind>/<targetName>:<moduleId>[,<moduleId>...] |
--yes, -y | Skip confirmation prompts (uses defaults where available) |
--dry-run | Preview changes without writing to disk |
--show-files | Include generated file contents in a dry-run preview |
--trust | Skip finalize script approval prompt and run all scripts |
Examples
Interactively select targets and modules
stack-effect addAdd a specific module to a target
stack-effect add --target server/api:server-http-apiNon-interactive dry run for CI/LLM usage
stack-effect add --yes --target package/domain:domain-api-contracts --dry-run