statekit_cli
A CLI tool for generating Flutter project structures and screens.
Installation
To use statekit_cli, you need to activate it globally using the following command:
dart pub global activate statekit_cli
Usage
Initializing Project Structure
Initialize the structure of an existing project using the init
command:
statekit init
This command sets up the necessary directories and files for your Flutter project.
Creating Screens
Generate screens (pages) for your application using the create screen
command:
statekit create screen <screen_name>
Replace <screen_name> with the desired name of your screen. This command creates the necessary files for a new screen.
You can also generate multiple screens at once using the create screens command:
statekit create screens first_screen second_screen third_screen
This command will create the necessary files for each screen specified.
Help
To display this help message, use the help command:
statekit help
Libraries
- commands/auth_screens_create_command
- commands/command
- commands/command_helper
- commands/command_not_found
- commands/create_command
- commands/help_command
- commands/init_command/init_command
- commands/invalid_command
- commands/screen_create_command
- commands/sub_commands/blank_screen_create_command
- commands/sub_commands/grid_screen_create_command
- commands/sub_commands/listing_screen_create_command
- data/cli_data_provider
- data/constants
- enums/enums
- exception/cli_exception
- extensions/string_extensions
- generator/create_screen_generator/create_screen_generator
- generator/create_screen_generator/create_screen_generator_global
- generator/create_screen_generator/create_screen_generator_modular
- generator/init_generator/init_generator
- generator/init_generator/init_generator_global
- generator/init_generator/init_generator_modular
- statekit_cli
- utils/logger
- utils/pubspec_utils
- validations/auth_screens_validations
- validations/init_validations
- validations/screen_create_validations
- validations/validations