Created
March 24, 2020 12:35
-
-
Save nexpr/f403bc36fbdecc9199a3919a022e691f to your computer and use it in GitHub Desktop.
command test package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
console.log("cli arguments is ...") | |
console.log(process.argv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "test-command", | |
"version": "1.0.0", | |
"bin": { | |
"test-comm1": "./cli.js", | |
"test-comm2": "./cli.js" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment