Skip to content

CLI reference

Terminal window
dart run stackchain [global-options] <command> [command-options]

No command ⇒ init.

| 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 |

| 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 |

--architecture --state --routing --di --network --preset --keep-old --dry-run --skip-analyze

--from --to --dry-run --skip-analyze

--name/-n --var/-V key=value (multi) --overwrite --dry-run --skip-analyze