1.0.2 • Published 6 years ago

sct-cli v1.0.2

Weekly downloads
5
License
MIT
Repository
-
Last release
6 years ago

sct-cli

nitial project

npm init

add bin property

then add bin property in to package.json, note that only you do this can you make your command in your terminal, type the key of bin, the related js file will be proceed automatically.

"bin": {
  "my-cli": "./index.js"
}

edit index.js

#!/usr/bin/env node

console.log("hello world");

reference, npm update cmd

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago