Getting the CLI to acknowledge the output flag

Currently, `--output` is not respected by the CLI, so I've added support for it. :)