neat_cli

Last updated:

0 purchases

neat_cli Image
neat_cli Images
Add to Cart

Description:

neat cli

neat_cli ๐Ÿงผ








A sample cli to create clean architecture flutter projects with bloc

Features #

โœ… create new flutter project
โœ… create new feature with model and entity
โœ… generate (usecases, repository, dataresources) from abstract class
โŒ make bloc
โŒ make entity, model from resources
โŒ auto import dependencies

Getting Started ๐Ÿš€ #
Install โฌ‡๏ธ #
Activate globally via:
dart pub global activate neat_cli
copied to clipboard
If you want to use the model,entity generator using api resources or json schema you need to install quicktype
npm install -g quicktype
copied to clipboard
Usage #
# Show usage help
$ neat_cli --help

# Update package
$ neat_cli update

# Create a new flutter project
$ neat_cli create my_app

# Show CLI version
$ neat_cli --version

# Shwo command usage help
$ neat_cli help create
# Or
$ neat_cli create -h

# Create new feature "post"
$ neat_cli feature post

# Create new feature "post" and generate model and entity using api/json schema
$ neat_cli feature post -e entity.json -m https://jsonplaceholder.typicode.com/posts

# Generate files from abstract repository
$ neat_cli settle -f post -r post_repository

copied to clipboard
Soon #
# Make new bloc inside of a feature
$ neat_cli make bloc -f post

# Make entity inside of a feature
$ neat_cli make entity -f post --schema file.json

# Make model inside of feature
$ neat_cli make model -f post --schema https://jsonplaceholder.typicode.com/posts
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.