open_mustang_cli 1.0.0
open_mustang_cli: ^1.0.0 copied to clipboard
CLI to generate source templates for Mustang application.
Mustang CLI #
Setup #
- Run the following command to install or update the cli
dart pub global activate -sgit https://github.com/getwrench/open_mustang_cli.git
Commands #
-
Usage
omcli # prints help -
Create the screen and model files
# use routes/booking to create screen files inside sub-directory routes omcli -s booking -
Create a model file
omcli -m vehicle -
Create a mustang utils file
omcli -u -
Generate framework source files
# Run this inside the root directory of a Flutter project # -w enables watch mode. Use -d for one time generation omcli -w -
Clean generated framework source files
# Run this inside the root directory of a Flutter project omcli -d