@risecorejs/app-cli

1.0.7 • Public • Published

@risecorejs/app-cli

rcjs is a command-line tool designed to simplify the process of managing and scaffolding projects. It offers a set of commands to initialize projects, create modules, services, controllers, models, perform database migrations, and more.

Installation

You can install rcjs globally using npm or yarn:

npm install -g @risecorejs/app-cli
# or
yarn global add @risecorejs/app-cli

Usage

rcjs <command> [options]

Commands

  • rcjs init: Initializing the Project.
  • rcjs make:module: Generate a new module.
  • rcjs make:service: Generate a service in a module.
  • rcjs make:controller: Generate a controller in a module.
  • rcjs make:middleware: Generate a middleware in a module.
  • rcjs make:model: Generate a model in a module.
  • rcjs make:migration: Generate a database migration file in a module.
  • rcjs make:migrations: Generate database migration files based on module models.
  • rcjs db:migrate: Execute database migration files of modules.
  • rcjs db:rollback: Rollback the last database migration files of modules.

For a quick list of all commands, run:

rcjs --help

Explore Commands and Options

To discover available commands and their options, use --help with any command:

rcjs <command> --help

Readme

Keywords

none

Package Sidebar

Install

npm i @risecorejs/app-cli

Weekly Downloads

4

Version

1.0.7

License

MIT

Unpacked Size

29.6 kB

Total Files

25

Last publish

Collaborators

  • risecorejs