sct-cli
v1.0.2
Published
command line test
Downloads
2
Readme
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");