Emily Assistant

Command Line Interface (CLI) to create a Flutter project and automate routine processes.

The assistant knows how to:

  • Create a Flutter project template.
  • Connect to a remote repository in Github.
  • Generate a keystore file.
  • Create a folder structure for the feature.
  • Create a bloc and cubit template.
  • Add packages to the project.

Getting Started

Activate globally:

dart pub global activate emily

or

dart pub global activate --source path /path/to/emily

Available commands

Create a Flutter project template:

emily create -template

Generate a keystore file:

emily create -key

Create a folder structure for the feature:

emily create -feature

Create a bloc template (bloc, state, event):

emily create -bloc

Create a cubit template (cubit, state):

emily create -cubit

Connect a remote Github repository:

emily connect -github

Add package to pubspec:

emily add package

Add package flutter_native_splash to pubspec:

emily add -flutter_native_splash