butter_cli 0.1.1 copy "butter_cli: ^0.1.1" to clipboard
butter_cli: ^0.1.1 copied to clipboard

outdated

The cli companion of the butter framework. This tool is used to generate the project scaffolding.

butter_cli #

pub package Build Status

Generates the butter framework scaffolding for flutter development.

Getting Started #

Install the butter_cli using the following command:

pub global activate butter_cli

Usage #

Usage: butter_cli [<options>] --destination <destination>

Generates the butter framework scaffolding.

Options:
--help or -h
  Show this information
--module or -m
  The name of the module. Use a lowercase_with_underscores.
--name or -n
  The name of the object under a module. Specify this when generating
  a page or an action. Use a lowercase_with_underscores.
--skeleton or -s
  Generates the skeletal files of the framework under lib and test
--type <item> or -t <item>
  Where <item> is any of: module, page, action.
  When generating a page. A state and model is provided along with it.

To generate a project skeleton: 
 butter_cli -s -d /path/to/project

To generate a module: 
 butter_cli -t module -m home -d /path/to/project

To generate a page: 
 butter_cli -t page -m profile -n edit_profile -d /path/to/project
0
likes
0
pub points
0%
popularity

Publisher

verified publisherzoogtech.com

The cli companion of the butter framework. This tool is used to generate the project scaffolding.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, io, mustache, path, pub_cache, recase

More

Packages that depend on butter_cli