stack-effect add

Incrementally add targets and modules to a scaffolded project. Resolves dependencies and implications automatically.

Usage

stack-effect add [flags]

Options

OptionDescription
--root, -r <dir>Root directory of the repository (defaults to cwd)
--target <targetKind>/<targetName>:<moduleId>[,...]Target spec as <targetKind>/<targetName>:<moduleId>[,<moduleId>...]
--yes, -ySkip confirmation prompts (uses defaults where available)
--dry-runPreview changes without writing to disk
--show-filesInclude generated file contents in a dry-run preview
--trustSkip finalize script approval prompt and run all scripts

Examples

Interactively select targets and modules

stack-effect add

Add a specific module to a target

stack-effect add --target server/api:server-http-api

Non-interactive dry run for CI/LLM usage

stack-effect add --yes --target package/domain:domain-api-contracts --dry-run