Our great sponsors
-
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.
-
getoptsy
getoptsy: getopts alternative to parse command line arguments to long options, in POSIX, using custom code.
-
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.
I fixed the link to "parse options via while and case not getopts or getopt". The correct link is https://github.com/SixArm/unix-shell-script-tactics/blob/main/doc/parse-options-via-while-and-case-not-getopts-or-getopt.md
I also recommend to use ShellSheck, which is a linter for Bash scripts. It can be installed locally too.
Here's what's I'm using.
It's probably worth noting, bats-core is a solid testing framework, which allows a lot more serious approach to writing shell. https://github.com/bats-core/bats-core