remove & rename
Remove
Section titled “Remove”dart run stackchain remove authdart run stackchain remove notifications --dry-runDeletes the feature folder + tests, updates stackchain.yaml, and re-wires routes/DI.
You can’t remove the last remaining feature — add another first.
Rename
Section titled “Rename”dart run stackchain rename profile accountdart run stackchain rename --from auth --to login --dry-runBoth names must be snake_case. Rewrites yaml, files, tests, routes, and DI.
- Commit first.
- Prefer
--dry-run. - Hand-written files under a removed feature folder are deleted with it — move keepers out first.