test-node-package
create testing package
Introduction
- This is a testing command
- I'm trying to figure out what's going on with the nodejs taking the package and the command line
Command
test-cli --help
- use option 'help' to know how to use it
test-cli greet|hi --help
- use it to know the sub-command
How to create and publish a package
-
initial the package -
npm init
-
create a user -
npm adduser
-
publish the package -
npm publish