2.0.5 • Published 1 year ago

ccci-cli v2.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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.

2.0.3

1 year ago

2.0.2

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.1

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago