fsda_cli 1.0.14
fsda_cli: ^1.0.14 copied to clipboard
Feature Slice Driven Architecture CLI for workspace scaffolding and code generation.
FSDA CLI #
Feature Slice Driven Architecture CLI for workspace scaffolding and code generation.
🚀 Installation #
Before installing FSDA CLI, make sure your computer has:
- Dart SDK
- Flutter SDK
Then, run the following command to install FSDA CLI globally:
dart pub global activate fsda_cli
Workspace Rule #
Run most commands from workspace root containing fsda.yaml.
Commands requiring workspace root:
- fsda configure
- fsda configure-app
- fsda list-pckg
- fsda add-pckg
- fsda gen-app
- fsda gen-module
- fsda gen-feature
- fsda regen-feature
- fsda gen-slice
- fsda gen-ui
- fsda reg
- fsda di
- fsda rm-reg
- fsda compose-main
- fsda compose-form
- fsda compose-pag
- fsda compose-pmi
- fsda compose-sec
- fsda fix-import [-m
Command allowed outside workspace root:
- fsda create
Supported Sequence Templates #
- M
- Mp
- Mr
- Mrp
- R
- Rp
- Rpag
- Rs
- Rsp
- Rof
Supported UI Codes #
- detail
- dialog
- form
- lsh
- lsv
- pag
- pmi
- sec
Compose Notes #
-
compose-main/form/pag
build page scaffolds and sync route wiring.
-
compose-pmi
injects popup action/provider/listener/method into existing page.
-
compose-sec
composes retrieval section style into existing page (provider auto-bootstrap, execution trigger method, section method generation).
Quick Start #
fsda create fsda_base
cd fsda_base
fsda configure
fsda list-pckg
fsda add-pckg app_core
fsda add-pckg infra_dio
fsda gen-app demo_app
fsda configure-app demo_app
fsda gen-module finance
fsda gen-feature wallet -m finance --ds remote
fsda gen-slice detail -f wallet -m finance -s Rp -u detail
fsda gen-slice delete -f wallet -m finance -s Mp -u pmi,dialog
fsda reg finance -a demo_app
fsda di wallet -m finance -a demo_app
fsda compose-main detail -f wallet -m finance -a demo_app -p wallet_detail_page
fsda compose-pmi delete -f wallet -m finance -a demo_app -p wallet_detail_page
fsda fix-import -a demo_app