tj/commander.js
View on GitHub ↗ ★ 28,446 JavaScript
node.js command-line interfaces made easy
11 mentions on Hacker News by 10 people: 2 stories, 9 comments · first 2011-08-25 · latest 2025-09-20
20082026
-
…https://github.com/browserify/randombytes https://github.com/terser/terser https://github.com/tj/commander.js https://github.com/evanw/node-source-map-support https://github.com/LinusU/buffer-from https://github.com/mozilla/source-ma
comment by CMay · 2025-09-20 · in Less is safer: Reducing the risk of supply chain attacks -
…the same thing, though perhaps with slightly worse composability than Optique: https://cliffy.io/ https://github.com/tj/commander.js
comment by dcre · 2025-09-07 · in Stop writing CLI validation. Parse it right the first time -
…commanderjs ] lets you easily build ergonomic CLI apps (wires up --help and usage descriptions) --- https://github.com/tj/commander.js/ - [ chalk ] colors in the terminal --- https://github.com/chalk/chalk - [ figlet ] big splash text ---…
comment by gitgud · 2020-09-08 · in Ask HN: Recommendations for Good TUI Libraries (Text User Interface)? -
…command called'); }); It also automatically generates the --help output for ./script -h [1] https://github.com/tj/commander.js/
comment by gitgud · 2020-07-08 · in Help Message for Shell Scripts -
…me why I'd choose your library over the alternative? Thanks and congrats on the work so far. 1. https://github.com/tj/commander.js
comment by dvdhnt · 2017-03-03 · in Caporal.js: Build Awesome CLI Apps with Node.js -
Why did you decide to build this instead of using Commander or Vorpal? https://github.com/tj/commander.js/ https://github.com/dthree/vorpal
comment by subie · 2017-03-02 · in Caporal.js: Build Awesome CLI Apps with Node.js -
Looks pretty similar to: https://github.com/tj/commander.js Why would I use yours over tj's?
comment by fourstar · 2015-06-21 · in Vantage.js – a new take on interactive CLI for Node -
…[1]: https://github.com/docopt/docopt.coffee [2]: https://github.com/substack/minimist [3]: https://github.com/visionmedia/commander.js
comment by skeoh · 2014-06-02 · in Command-line interface description language -
Agreed - personally I use https://github.com/visionmedia/commander.js for this reason.
comment by vailripper · 2011-12-02 · in Node.js modules you should know about: optimist