set up a scaffolding by yourself in the team, which is in the
of package.json."bin": {
"s-cli": "./bin/s.js"
},
s.js
const program = require("commander");
program.version("1.0.0")
.usage("<command> []")
.command("init", "")
.parse(process.argv)
after installing global npm I s-cli-g in mac, you can use the s-cli init command, but under window, it is also a global installation. If you execute Scrimley, you will execute s.js, but if you execute the: s-cli init command, an error will be reported and no such command will be reported. Is there any compatibility to consider? Thank you!