Bashinator is a bash shell script framework. It provides flexible and powerful message handling that lets you print to stdout, log (to syslog or a logfile), and mail messages with a single message function. Exhaustive information is included in messages to ease debugging. This information includes timestamps, message severity, source file, line numbers, and function names. A facility for tracing the function call stack is provided. Sub-command output can be logged by capturing the stdout/stderr of external commands to a dedicated temporary logfile. The framework also provides lockfile handling.
The klish is a framework for implementing Cisco-like command-line interfaces on Unix systems. It is configurable through XML files. "Klish" stands for "Kommand Line Interface SHell". The klish is a fork of clish-0.7.3. The original clish was developed by Graeme McKerrell. The klish adds some new features, but is compatible (as much as possible) with clish's XML configuration files.
Rerun is a lightweight tool-building framework useful to those implementing management procedure with shell scripts. It will help you organize your implementation into well-defined modular interfaces. Collections of management modules can be archived and delivered as a single executable to facilitate team handoffs. Using the "stubbs" module, rerun will even facilitate unit tests. When users execute rerun module commands, rerun can record execution data into log files which can later be replayed.