If there is an error currently we print out a long stack trace. We can change this to just print the error message through a parser error rather than via the full stack trace when using this package as a CLI utility.
Testing with just query and no parameters provides this output now.
imap-data-access query
usage: imap-data-access [-h] [--version] [--data-dir DATA_DIR] [--url URL] [--debug]
[-v]
{download,query,upload} ...
imap-data-access: error: At least one query parameter must be provided
If there is an error currently we print out a long stack trace. We can change this to just print the error message through a parser error rather than via the full stack trace when using this package as a CLI utility.
Testing with just query and no parameters provides this output now.
closes #30