cd ets-cli && cargo install
ets g c auth
This will create a file in src/controller/auth.controller.ts
g or generate
|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 |