Lucy
Command Line Interface (CLI) for Lucifer framework.
Installation
Activate command line from your terminal with this command.
pub global activate lucy
Usage
Create New Project
Use this command to create a new default lucifer project.
l create <project-name>
For example:
l create desire
Run Project (With Hot Reload)
To run your project, use this command in the root project directory:
l run
Build Executable
To compile your app and build an executable file, you can use this command.
l build
It will generate the executable file in the root project directory.
Generate Controller
To generate a new controller in your project, use this command.
l c <controller-name>
This example will create user_controller.dart
with class UserController
inside at bin/controller
directory.
l c user
Generate Repository
To generate a new repository in your project, use this command.
l r <repository-name>
This example will create user_repository.dart
with class UserRepository
inside at bin/repository
directory:
l r user