butter_cli

Creator: coderz1093

Last updated:

0 purchases

butter_cli Image
butter_cli Images

Languages

Categories

Add to Cart

Description:

butter cli

butter_cli #

Generates the butter framework scaffolding for flutter development.
Getting Started #
Install the butter_cli using the following command:
pub global activate butter_cli
copied to clipboard
Usage #
Usage: butter_cli [<options>] --destination <destination>

Generates the butter framework scaffolding.

Options:
--help or -h
Show this information
--model or -o
The name of the default model to use usually in generating an action. Use a lowercase_with_underscores.
--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

To generate an action:
butter_cli -t action -m profile -o user_profile -n edit_profile -d /path/to/project
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.