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.
PHP CLI Framework is a simple class which you can extend to quickly create a commandline (CLI) application using PHP. Only a single file is needed, and everything extends that file. It supports interactive input and an object oriented way of writing which keeps things nice and clean. Features include arguments, flags, options, colors, interactive input, object oriented PHP5, a micro framework, and minimal coding required. There's only a single class to extend.