1.0.5 • Published 8 months ago

dev-minh-cli v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

Documentation for dev-minh-cli

dev-minh-cli is a tool that helps generate project templates for various types of projects including Angular, NextJS, React, Server (NestJS)

Installation

To install dev-minh-cli, you will need to use Node Package Manager (npm). Here's how:

npm install -g dev-minh-cli

This command will install dev-minh-cli globally on your machine, allowing you to run it from any directory in your command line.

Usage

Once installed, you can use dev-minh-cli to create a new project using a supported template. Here is a general syntax to generate a new project:

minhcli generate <project_name> --template <template_name>

or shorthand version:

minhcli g <project_name> -t <template_name>

Where:

  • <project_name> is the name of your new project.

  • <template_name> is the name of the template you wish to use. Currently supported templates are: angular, react, and nest.

For example: to create a new Angular project named "my-new-project", you can use the following command:

minhcli generate my-new-project --template angular

Similarly, you can replace angular with react or server (NestJS) to create a new project with one of those templates.

Here's a table summarizing the available commands:

CommandDescription
minhcli generate <project_name> --template angularGenerate an Angular project
minhcli generate <project_name> --template nextjsGenerate an NextJS project
minhcli generate <project_name> --template reactGenerate a React project
minhcli generate <project_name> --template serverGenerate a NestJS project
minhcli g <project_name> -t angularShorthand to generate an Angular project
minhcli g <project_name> -t nextjsShorthand to generate an NextJS project
minhcli g <project_name> -t reactShorthand to generate a React project
minhcli g <project_name> -t serverShorthand to generate a NestJS project

HELP

minhcli --help