docopts
argc
docopts | argc | |
---|---|---|
4 | 14 | |
491 | 646 | |
0.6% | - | |
0.0 | 9.3 | |
4 months ago | 10 days ago | |
Shell | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docopts
-
Argbash – Bash Argument Parsing Code Generator
Huh, it uses M4 to build its DSL, how quaint.
I wish there were more projects on the other side of the spectrum: take the script's self-reported usage string, à la docopt [0], and derive argument-parsing code from that. After all, we have GPT-4 now.
[0] https://github.com/docopt/docopts
- Whats the easiest way to configure argument parsing in bash
- Argc – A handy way to handle sh/bash CLI parameters
- jetopt: a dead simple wrapper around getopt you always dreamed of!
argc
- Argc: Easily create feature-rich CLIs in bash
- Easily create a feature-rich command-line application in Bash.
- Docopt.sh – Command-Line Argument Parser for Bash 3.2, 4, and 5
-
Runme: A shell-script based task runner written in rust
Runme is based on argc, which can flexibly define task parameters and generate informative completions
- Whats the easiest way to configure argument parsing in bash
- GitHub - fumieval/clap4shell: Standalone wrapper of clap for shell scripts
- Argc: A bash cli framework, also a task management & automation tool.
-
A cross-plaform task runner
See docs/task-runner for more details.
- Argc: The easiest way to handle bash command-line options
-
IT Pro Tuesday #194 - AutoHotkey Scripts, Command-Line Tool, PowerShell Tutorial & More
Argc is an easier way to handle sh/bash cli parameters. Allows you to create a command line program by simply describing the options, parameters, and subcommands in comments. Once you set it to work, Argc extracts parameter definitions from comments, parses command line arguments, outputs error text/help info for an abnormal parameter or the parsed parameter variable for a normal one, and finally, calls any subcommand function. A shout out to sigoden for this suggestion.
What are some alternatives?
argbash - Bash argument parsing code generator
argi - Argument parsing for the future 🚀
bash-argsparse - An high level argument parsing library for bash
slap - Painless shell argument parsing and dependency check.
sh - Python process launching
Trash-Generator - A Rust program that generates files containing random characters (AKA trash)
bashly - Bash command line framework and CLI generator
clap4shell - Standalone wrapper of clap for shell scripts
shflags - shFlags is a port of the Google gflags library for Unix shell.
docopt - This project is no longer maintained. Please see https://github.com/jazzband/docopt-ng
bash-boilerplate - A collection of Bash scripts for creating safe and useful command line programs.
docopt.rs - Docopt for Rust (command line argument parser).