8 releases

0.2.6 May 10, 2021
0.2.5 Mar 17, 2021
0.2.4 Jan 27, 2021
0.1.3 Jan 27, 2021
0.1.1 Sep 6, 2020

#326 in Development tools

MIT/Apache

11KB
282 lines

Express Typescript Starter helper cli

Installation

  • Clone the repo
  • cd ets-cli && cargo install

Usage

  • ets [g|generate] [to_generate] [file_name]

Example

ets g c auth

This will create a file in src/controller/auth.controller.ts

Arguments

First Argument

g or generate

Second Argument

arg result
c or controller creates a new controller
s or service creates a new service
m or model creates a new model
mw or middleware creates a new middleware
rs or request-schema create a new express validator schema
r or route creates a new route

Dependencies

~355KB