argc
A Bash CLI framework, also a Bash-based command runner. (by sigoden)
docopts
Shell interpreter for docopt, the command-line interface description language. (by docopt)
argc | docopts | |
---|---|---|
14 | 4 | |
646 | 491 | |
- | 0.6% | |
9.3 | 0.0 | |
11 days ago | 4 months ago | |
Rust | Shell | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
argc
Posts with mentions or reviews of argc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-16.
- 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.
docopts
Posts with mentions or reviews of docopts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-20.
-
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!
What are some alternatives?
When comparing argc and docopts you can also consider the following projects:
argi - Argument parsing for the future 🚀
argbash - Bash argument parsing code generator