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
copied to clipboard
Commands #
-
Usage
omcli # prints help
copied to clipboard -
Create the screen and model files
# use routes/booking to create screen files inside sub-directory routes omcli -s booking
copied to clipboard -
Create a model file
omcli -m vehicle
copied to clipboard -
Create a mustang utils file
omcli -u
copied to clipboard -
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
copied to clipboard -
Clean generated framework source files
# Run this inside the root directory of a Flutter project omcli -d
copied to clipboard