Create a new instance and publish an error from command line args.

    There is a console script for invoking this function from the command
    line directly.

def main():
    """Create a new instance and publish an error from command line args.

    There is a console script for invoking this function from the command
    line directly.
    """
    args = _parse_args()
    _init_logging(args.verbose)
    client = _from_args(args)
    client.submit_error(args.description, args.extra,
                        default_message=args.default_message)