Skip to content

Does node_deb.entrypoints.cli support more than 1 file?  #107

Description

@gyDBD

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions