Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 843 Bytes

File metadata and controls

44 lines (31 loc) · 843 Bytes

node-cli-skeleton

Skeleton of CLI Node.js app. Pre-packed with:

Use the Template

Clone the repository:

git clone --depth=1 https://github.com/onspli/node-cli-skeleton.git my-cli-app
cd my-cli-app
rm -rf .git

Find all occurences of node-cli-skeleton and replace them with my-cli-app.

Build and Run the App

Build the app and test it:

npm install
npm run build
npm test

Run the app:

node dist/main.js

Link the app locally and execute it:

npm link
node-cli-skeleton