Skip to content

Instantly share code, notes, and snippets.

@nexpr
Created March 24, 2020 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nexpr/f403bc36fbdecc9199a3919a022e691f to your computer and use it in GitHub Desktop.
Save nexpr/f403bc36fbdecc9199a3919a022e691f to your computer and use it in GitHub Desktop.
command test package
#!/usr/bin/env node
console.log("cli arguments is ...")
console.log(process.argv)
{
"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