Lightweight API for creating a command-line interface.