Command line parser library, which one do you like the most, regardless of language?

This page summarizes the projects mentioned and recommended in the original post on /r/AskProgramming

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Trollop

    Optimist is a commandline option parser for Ruby that just gets out of your way.

  • My favorite is probably trollop but I haven’t needed to write a cli in years. Clap is also great, but the best I’ve used is probably Click which is saying something because I absolutely hate Python. Also deploying is a completely separate problem from which library is best. Click is by far the worst to deploy, then Clap, then trollop.

  • clap-rs

    A full featured, fast Command Line Argument Parser for Rust

  • My favorite is probably trollop but I haven’t needed to write a cli in years. Clap is also great, but the best I’ve used is probably Click which is saying something because I absolutely hate Python. Also deploying is a completely separate problem from which library is best. Click is by far the worst to deploy, then Clap, then trollop.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • typer

    Typer, build great CLIs. Easy to code. Based on Python type hints.

  • interesting that you hate python, but love Click. Did you try Typer which uses Click underneath?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Docopt.sh – Command-Line Argument Parser for Bash 3.2, 4, and 5

    5 projects | news.ycombinator.com | 16 Mar 2023
  • I am sick of writing argparse boilerplate code, so I made "duckargs" to do it for me

    11 projects | /r/Python | 3 Mar 2023
  • Docopt

    7 projects | news.ycombinator.com | 31 Dec 2021
  • Show HN: Piou – Build beautiful command-line interfaces with type validation

    4 projects | news.ycombinator.com | 24 Dec 2021
  • Show HN: Rust-starter, a boilerplate to build Rust CLI applications

    9 projects | news.ycombinator.com | 25 Jan 2021