Is there a recommended alternative to getopts?

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

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

    Bash argument parsing code generator

  • Yeah, now that I look at it a bit closer, it is quirky. Not unmanageable, but I think I prefer something like Argparse which generates the parsing code for you using a simpler language.

  • sh_libpath

    Making shell scripts more robust with libraries

  • There are a number of library files that offer a range of arg handling possibilities in different ways, I collated several of them here, but I don't have a favourite.

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

    An elegant option/argument parser for shell scripts (full support for bash and all POSIX shells)

  • I like to use https://github.com/ko1nksm/getoptions

  • shflags

    shFlags is a port of the Google gflags library for Unix shell.

  • Wow thanks! I just found another option, https://github.com/kward/shflags, but yours looks even better.

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

  • Argbash: Bash argument parsing code generator

    1 project | /r/commandline | 22 Mar 2022
  • Argbash: Bash argument parsing code generator

    1 project | /r/programming | 22 Mar 2022
  • Argbash: Bash argument parsing code generator

    1 project | /r/coding | 22 Mar 2022
  • GitHub - matejak/argbash: Bash argument parsing code generator

    1 project | /r/commandline | 22 Mar 2022
  • GitHub - matejak/argbash: Bash argument parsing code generator

    1 project | /r/bash | 22 Mar 2022