ccci-cli v2.0.5
CCCi-CLI
is a Command Line Interface (CLI) tool designed to help you create files. This tool is built with Node.js and uses the Commander package to create the CLI.
Installation
To install CCCi-CLI, run the following command:
npm install -g ccci-cli
Usage
CCCi-CLI provides three commands to create files: make:model, make:controller, and make:route.
make:model
Use this command to create a model. To use this command, run:
ccci-cli make:model <model-name>
is the name of the model you want to create, such as "users" or "user_book".
make:controller
Use this command to create a controller. To use this command, run:
ccci-cli make:controller <controller-name> [options]
is the name of the controller you want to create, such as "users" or "user_book".
The following options are available:
-m, --model : This option lets you specify the name of the model associated with the controller. -x, --create: This option lets you create a new model if one doesn't already exist.
make:route
Use this command to create a router. To use this command, run:
ccci-cli make:route <router-name> [options]
is the name of the router you want to create, such as "users" or "user_book". The following options are available:
-c, --controller : This option lets you specify the name of the controller associated with the router. -x, --create: This option lets you create a new controller and model if they don't already exist.
Version
To check the version of CCCi-CLI you have installed, run:
ccci-cli --version
License CCCi-CLI is licensed under the MIT license. See LICENSE for more details.