easy_init_cli 1.0.0 copy "easy_init_cli: ^1.0.0" to clipboard
easy_init_cli: ^1.0.0 copied to clipboard

A CLI tool to create flutter project and initialize project with boilerplate code

Screenshot from 2024-03-28 17-31-44

Exploring the CLI #


Easy Init CLI is a command-line tool that streamlines the creation of Flutter projects. It initializes the project with boilerplate code following a well-structured, Test-Driven Development (TDD) Clean Architecture approach. Future versions will incorporate additional architectural patterns.

Installation #

You can install the package from the command line:

dart pub global activate easy_init_cli

Create Project #

easy create project

Use this command to create new flutter project. This command will prompt you to provide a project name and organization domain. (example- project name : todo app, organization domain : com.example )

Initialize project #

#replace project_name with your project's name
cd project_name

Use the cd command in the terminal to navigate to the project's root directory.

easy init

Use this command to initialize your project with a well-structured architectural pattern (Currently, only TDD Clean Architecture (feature wise) is available.). All required dependencies and dev dependencies will added automatically. The generated files can be customized to suit your specific needs.

Create feature #

easy create feature

Use this command to create new Clean architecture feature. this command will promt you to provide a feature name.\

OR

easy create feature:feature_name

The screens folder will contain authentication-related screen files if the feature name is either 'auth' or 'authentication'

17
likes
0
points
239
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool to create flutter project and initialize project with boilerplate code

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, dcli, process_run, recase

More

Packages that depend on easy_init_cli