init
dart run stackchain initdart run stackchain init --dry-rundart run stackchain init --overwriteWhat it does
Section titled “What it does”- Reads
stackchain.yaml(or applies defaults) - Creates
lib/app,lib/core,lib/features - Adds the right packages to
pubspec.yaml - Replaces the counter
main.dart - Writes
.stackchain/lock.yaml - Runs a health check
- Existing files are skipped unless you pass
--overwrite - No config file? Defaults are fine — a starter YAML is written for you
- Always safe to preview:
--dry-run