CLI reference
dart run stackchain [global-options] <command> [command-options]No command ⇒ init.
Global options
Section titled “Global options”| Flag | Short | Description |
| — | — |
| --help | -h | Usage |
| --overwrite | -f | Overwrite files |
| --dry-run | | No writes |
| --verbose | -v | Verbose |
| --skip-analyze | | Skip analyze |
| --path | -p | Project root |
Commands
Section titled “Commands”| Command | Args | Notes |
| — | — |
| help | [command] | |
| init | | Full scaffold |
| feature | <name> or --name | Vertical slice |
| add | <name> | Alias of feature |
| remove | <name> or --name | Delete feature + rewire |
| rename | <from> <to> or --from / --to | Rename feature + rewire |
| sync | | Region merge |
| upgrade | | Deps + sync + lock + gate |
| migrate | stack flags | Evolve stack (shell + presentation + tests) |
| doctor | | Gate only |
| presets | | List IDs |
| make | <type> <name> | feature\|page\|widget\|service |
| list | | Bricks |
| new | <brick_name> | Custom brick |
migrate flags
Section titled “migrate flags”--architecture --state --routing --di --network --preset --keep-old --dry-run --skip-analyze
rename flags
Section titled “rename flags”--from --to --dry-run --skip-analyze
make flags
Section titled “make flags”--name/-n --var/-V key=value (multi) --overwrite --dry-run --skip-analyze