1.0.0 • Published 3 years ago
hellodpg v1.0.0
https://dev.to/aadityasivas/make-and-publish-a-nodejs-cli-in-10-minutes-njj
mcd hellodpg
mkdir bin
vi bin/hellodpg
#!/usr/bin/env node
console.log("Hello DPG!");
npm link
npm notice created a lockfile as package-lock.json. You should commit this file.
up to date in 0.414s
found 0 vulnerabilities
/usr/local/bin/hellodpg -> /usr/local/lib/node_modules/hellodpg/bin/hellodpg
/usr/local/lib/node_modules/hellodpg -> /Users/erik/experiments/hellodpg
1.0.0
3 years ago