lucy 1.1.5 copy "lucy: ^1.1.5" to clipboard
lucy: ^1.1.5 copied to clipboard

Command Line Interface (CLI) for Lucifer (a fast, light-weight web framework in dart)

Lucy #

Simple Command Line Interface (CLI) for Lucifer framework.

Installation #

You may activate Lucy CLI by using the following command in your terminal:

pub global activate lucy
copied to clipboard

Usage #

Create New Project #

To create a new Lucifer project, you may use the following Lucy command.

l create <project>
copied to clipboard

For example, you may use l create command like so:

l create desire
copied to clipboard

It will create a new Lucifer project named desire in the desire directory.

Run Project (With Hot Reload) #

To run your project, you may use the following command in the root project directory:

l run
copied to clipboard

Build Executable #

To compile your app and build an executable, you may use:

l build
copied to clipboard

It will generate the executable file, ready to be sent to production server, in your root project directory.

Generate Controller #

To generate a controller in your Lucifer project, you may use:

l c <controller>
copied to clipboard

For example, you may use l c command like so:

l c user
copied to clipboard

It will create a user_controller.dart file with class UserController in the lib/controller directory.

Generate Repository #

To generate a repository in your Lucifer project, you may use:

l r <repository>
copied to clipboard

For example, you may use l r command like so:

l r user
copied to clipboard

It will create a user_repository.dart file with class UserRepository in the lib/repository directory.

Create Custom Middleware #

You may use the following command to generate a new custom middleware for your Lucifer project:

l m <middleware>
copied to clipboard

For example, you may use l m command like so:

l m auth
copied to clipboard

It will create a auth.dart file containing an auth function to define your custom middleware in the lib/middleware directory.

4
likes
140
points
60
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.22 - 2025.04.06

Command Line Interface (CLI) for Lucifer (a fast, light-weight web framework in dart)

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

path, watcher

More

Packages that depend on lucy