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. Learn more →
Docopt.sh Alternatives
Similar projects and alternatives to docopt.sh
-
-
bash-cache
Transparent caching layer for bash functions; particularly useful for functions invoked as part of your prompt.
-
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.
-
shrc
My bashrc/shrc that supports bash, zsh, busybox ash and even Dash. ( has: OS and shell detection )
-
nvm
Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
-
-
-
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
ProfileGem
A shell configuration utility to compartmentalize and manage your terminal utilities and environment
-
prompt.gem
A collection of shell scripts to customize your prompt, distributed as a ProfileGem gem.
docopt.sh reviews and mentions
-
Docopt.sh – Command-Line Argument Parser for Bash 3.2, 4, and 5
I like that this generates readable output that could pass as hand-written code.
The docopt.sh output looks like it went through a JS minifier. Or is there a way to change that? If so I think it should default to that.
https://github.com/andsens/docopt.sh/blob/master/docs/naval_...
-
Programs are dead, and JavaScript has killed them
If you want to avoid having to write your own args parser everytime or think getopt is a pain, you should check out my little project:
https://github.com/andsens/docopt.sh
No dependencies, the code is directly inlined into your script, and you write the args parser by writing the help-text.
-
Beautiful Scripts
Honestly, I left it as a gist because even though it reduces boilerplate, getopts is still not a great flag parser (e.g. only supports single-letter flags, and no type safety or other validation aside from boolean / string). I use it in my shell environment since I have lots of shell functions and I don't care to pull in a "real" parser into my shell, but if I was writing any sort of more complex standalone script I probably wouldn't use it. Check out docopt if you haven't seen it, I've been meaning to give that a whirl at some point.
-
A note from our sponsor - InfluxDB
www.influxdata.com | 29 Mar 2024
Stats
andsens/docopt.sh is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of docopt.sh is Python.