1.0.7 • Published 2 years ago

@risecorejs/app-cli v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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
1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago