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

outdated

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

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.

lucy create <project-name>

For example:

lucy create desire

Run Project (With Hot Reload) #

To run your project, use this command in the root project directory:

lucy run

Build Executable #

To compile your app and build an executable file, you can use this command.

lucy 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.

lucy c <controller-name>

This example will create user_controller.dart with class UserController inside at bin/controller directory.

lucy c user

Generate Repository #

To generate a new repository in your project, use this command.

lucy r <repository-name>

This example will create user_repository.dart with class UserRepository inside at bin/repository directory:

lucy r user
4
likes
0
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

path, process_run, watcher

More

Packages that depend on lucy