Skip to content

Latest commit

 

History

History

cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Yorjs/cli

NPM version

The recommended way to create a yor module

Installation

import package

# use npm
npm install @yorjs/cli -g

# use pnpm
pnpm add @yorjs/core -g

Usage

Create a named yor module.

yor create

Options

-V, --version     output the version number
-M, --module      yor module
-I, --interface   yor interface
-P, --provider    yor provider
-C, --controller  yor controller
-h, --help        display help for command

Example

Generate files for named module

yor create -M example
└─example
        example.controller.ts
        example.interface.ts
        example.module.ts
        example.repo.ts
        example.service.ts