Gives error on invalid format

Currently the CLI will not format anything if you passed in anything other than 'raw' or 'table'