My node js package has two clis, which is in lib/cli/a-commend.js and lib/cli/b-commend.js
However I didn't find any docs about who to define two files for node_deb.entrypoints.cli
I've tried
"node_deb": {
"init": "none",
"package_name": "name",
"executable_name": "name",
"entrypoints": {
"cli": "./lib/cli/*.js"
}
}
and
"node_deb": {
"init": "none",
"package_name": "name",
"executable_name": "name",
"entrypoints": {
"cli": ["./lib/cli/a-commend.js", "./lib/cli/b-commend.js"]
}
}
Both not working. Could you help answer whether two clis are supported. And if yes, how to config that?
My node js package has two clis, which is in
lib/cli/a-commend.jsandlib/cli/b-commend.jsHowever I didn't find any docs about who to define two files for
node_deb.entrypoints.cliI've tried
and
Both not working. Could you help answer whether two clis are supported. And if yes, how to config that?