-h --help -help help --? -? ????

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • click

    Python composable command line interface toolkit

  • I really like Click, a Python library for building CLI programs. But one of the things that really bugs me about it is that by default it only uses --help for its help, leaving -h unbound. I have to add @click.help_options('-h', '--help') to every program I write just to get the behavior I think should be the default.

  • typer

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

  • If you haven't used typer, give it a whirl. It's built on top of click but has a nicer interface (and does bind both -h and --help by default)

  • 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
  • pflag

    Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.

  • Not by default on stdlib. There are libraries available though - https://github.com/spf13/pflag

  • cobra

    A Commander for modern Go CLI interactions

  • The same person makes the most commonly used CLI application library (https://github.com/spf13/cobra) which uses pflag by default.

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