getoptions

parser

An option parser for shell scripts supporting all POSIX shells.

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

GitHub

421 stars
12 watching
22 forks
Language: Shell
last commit: almost 2 years ago
Linked from 1 awesome list

argparseargumentbashbusyboxcode-generatordashgetoptgetoptskshparsingposix-compliantshell-scriptszsh

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
davidgamba/go-getoptionsA command line option parser with built-in auto-completion support for Go applications.56
nk412/optparseA simple command-line argument parser for BASH scripts159
jcomellas/getoptA library to parse command line arguments using GNU getopt syntax in Erlang.251
mpusz/getoptA C++ library that parses command line options in a way compatible with the C++ Standard Library.0
jorgebucaran/getopts.fishA Fish plugin for parsing CLI options in a way similar to argparse without additional complexity.223
joknarf/nerdps1A shell prompt package for Unix-like systems with customizable display of information such as user, host, working directory, and system resources.10
kimgr/getopt_portAn implementation of getopt-style command-line parsing with limited GNU extensions89
robik/commandrA command-line argument parser with support for flags, options, arguments, and subcommands.42
karitham/zpA fast shell prompt written in C using Zig.7
mattn/go-shellwordsA library for parsing command-line arguments and environment variables in a shell-like way536
txgruppi/parseargs-goA string argument parser for Go that handles quoted arguments and flags as simple strings.10
getopt-php/getopt-phpA PHP library for parsing and processing command-line arguments337
c9s/getoptionkitAn object-oriented option parser library for PHP, supporting type constraints and various options formats.150
alecthomas/kongTool for parsing complex command-line interfaces into structured Go data2,178
nn1ks/mshpA minimal shell prompt implemented in Rust3