What are different options for CLI besides getopt and getopt_long?

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

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
  • flag.h

    Command-line flag parsing in C

  • flag.h or modified version of it.

  • arg.h

    20h's arg.h

  • I've also used arg.h, it's just a simpler getopt.

  • 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
  • docopt.cpp

    C++11 port of docopt

  • Is C++, but docopt is great for CLI arguments. docopt is available in other language as well, e.g. python. The nice thing about docopt is that the command line arguments/syntax is automagically derived from your 'help' string.

  • docopt

    This project is no longer maintained. Please see https://github.com/jazzband/docopt-ng

  • Is C++, but docopt is great for CLI arguments. docopt is available in other language as well, e.g. python. The nice thing about docopt is that the command line arguments/syntax is automagically derived from your 'help' string.

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

  • Typer: Python library for building CLI applications

    1 project | news.ycombinator.com | 25 Apr 2024
  • click-web: Serve click scripts over the web (Python)

    2 projects | news.ycombinator.com | 13 Dec 2023
  • Copilot for your GitHub stars

    2 projects | dev.to | 20 Nov 2023
  • Anyone want to start a project with me.

    2 projects | /r/ProgrammingBuddies | 7 Jul 2023
  • Build CLI blazingly fast with python-fire 🔥

    1 project | dev.to | 5 Jun 2023