stacked_cli 1.0.2 copy "stacked_cli: ^1.0.2" to clipboard
stacked_cli: ^1.0.2 copied to clipboard

outdated

A command line tool to specially use with Flutter stacked architecture or MVVM architecture as suggested by FilledStack.

Stacked CLI #

Note: This tool is only applicable to stacked / MVVM architecture project by FilledStack Stacked Architecture

Get Started #

  1. Make sure you have dart sdk installed in your pc.

    install dark SDK

    and add environment variable your path

     PATH_TO_FLUTTER_SDK/bin/cache/dart-sdk/bin 
    
  2. Clone this repo.

    git clone https://github.com/Huzaifaahmed20/stacked_cli.git
    
  3. Install dependencies:

    cd stacked_cli && pub get
    
  4. Add alias for quick access.

    alias generate_stacked_view='dart PATH-TO-CLONED_DIR/bin/main.dart $1 $2' 
    

Usage #

How to add view: #

use this alias in your stacked architecture project.

    $ generate_stacked_view view name-in-small-words

For example:

    $ generate_stacked_view view login

It will generate some files and folders (if not exist) in your lib folder with some starting code.

How to add service: #

    $ generate_stacked_view service firestore

it will generate services folder and service file in it and it also injects that service in your app

38
likes
0
pub points
38%
popularity

Publisher

verified publisherfilledstacks.com

A command line tool to specially use with Flutter stacked architecture or MVVM architecture as suggested by FilledStack.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

path, process_run

More

Packages that depend on stacked_cli