Skip to content

ollita7/kiwi-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Tool to help creation of components

Table of Contents

Installation

  1. Install module gobaly

    npm install kiwi-server-cli -g

Commands

  1. Init

    It creates a default server to start. Also it creates a tsconfig by default. By default this command creates a folder environments with two environments: 1) environment.ts and 2) environment.prod.ts. Also you can create as many environments as you want.

    kc init

  2. Create controller

    kc controller [<name> | <path/name>]

  3. Create Middlewares

    kc middleware [ after | before ] [<name> | <path/name>]

  4. Build

    This command use the tsconfig created by default using init command. The specify what environment file in the environments folder is going to be compiled. Also the code will be generated on a folder dist/.

    kc build -e <env>

    To watch for changes in the source code, use the -w or --watch flag:

    kc build --watch

About

No description, website, or topics provided.

Resources

Stars

9 stars

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors