CLI runner

This implements a CLI runner.