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.
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.