from Hacker News

Ask HN: What is the best way to build a command line tool?

by nathan_tarbert on 12/21/23, 7:54 PM with 3 comments

I'm not a Rust developer so I'm looking for a solution I can build in JavaScript.
  • by hiAndrewQuinn on 12/21/23, 8:22 PM

    I don't know much about JS, but Python's `click` and `typer` libraries are both excellent.
  • by tejinderss on 12/21/23, 9:16 PM

    Try Deno, it compiles cli apps in distributable binaries
  • by destevil on 12/21/23, 8:34 PM

    node has good libraries like yargs.