create-cli-app
v1.0.2
Published
This is cli tool to create nodejs cli tool. It uses typescript for scaffolding. Easy to use and Easy to add new command. Generated CLI app supports gulp out of box.
Downloads
11
Maintainers
Readme
create-cli-app
This is cli tool to create nodejs cli tool. It uses typescript for scaffolding. Easy to use and Easy to add new command. Generated CLI app supports gulp out of box.
How to Install
npm install -g create-cli-app
// OR
npm install -g https://[email protected]/deepakshrma/create-cli-app.git
How to create CLI app
create-cli-app new [app-name-here]
Once app create, You can navigate to folder and see the generated code.
[App Structure]
|---src: source code of cli app
|---packages: induvidule modules, command[SOLID]
|---core: Base code, Utils classes
|---templates: Use templates folder for copy paste files
Supported Basic commands
// Build cli src code
npm run build
// test cli src code
npm run test
// format cli src code
npm run format
// check lint cli src code
npm run lint