Last updated:
0 purchases
jarvis
Jarvis Modularity Assistant #
Command-line interface (CLI) for generating a Flutter project
It prompts the user for input and then creates a Flutter project with the given specifications. The generated project will include a set of predefined modules, such as
Core
CoreUi
Data
Domain
Navigation (AutoRouter support, GoRouter support)
The user can also specify additional
Features
Flavors
Packages
The code uses the dcli and mason_logger packages for input/output handling and logging, respectively. It also relies on several custom classes (AppConstants, DirectoryService, FileService, Input, ScriptService, and Validator) for various tasks.
Getting Started #
Activate globally via:
dart pub global activate jarvis
copied to clipboard
Pub installs executables into $HOME/.pub-cache/bin
If the one not in your path please add this command to your shell's config file (.bashrc, .bash_profile, etc.)
export PATH="$PATH":"$HOME/.pub-cache/bin"
copied to clipboard
Abailable Commands #
Create a new Flutter project with the following command:
jarvis create
copied to clipboard
Create a new module with the following command:
jarvis module
copied to clipboard
Create a new repository with the following command:
jarvis repository
copied to clipboard
Create a new use case with the following command:
jarvis usecase
copied to clipboard
Create a new entity (with mapper and model) with the following command:
jarvis entity
copied to clipboard
Plugins #
This package is currently extended with the following plugins.
Instructions on how to use them in your own application are linked below.
Plugin
README
dcli
https://pub.dev/packages/dcli
mason_logger
https://pub.dev/packages/mason_logger
args
https://pub.dev/packages/args
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.