This get us the cli arguments.

    Returns the args as parsed from the argsparser.

def get_arguments():
    """
    This get us the cli arguments.

    Returns the args as parsed from the argsparser.
    """
    # https://docs.python.org/3/library/argparse.html
    parser = argparse.ArgumentParser(
        description='Handles bumping of the artifact version')
    parser.add_argument('--log-config',
                        '-l',
                        action='store',
                        dest='logger_config',
                        help='The location of the logging config json file',
                        default='')
    parser.add_argument('--log-level',
                        '-L',
                        help='Provide the log level. Defaults to INFO.',
                        dest='log_level',
                        action='store',
                        default='INFO',
                        choices=['DEBUG',
                                 'INFO',
                                 'WARNING',
                                 'ERROR',
                                 'CRITICAL'])
    parser.add_argument('--major',
                        help='Bump the major version',
                        dest='bump_major',
                        action='store_true',
                        default=False)
    parser.add_argument('--minor',
                        help='Bump the minor version',
                        dest='bump_minor',
                        action='store_true',
                        default=False)
    parser.add_argument('--patch',
                        help='Bump the patch version',
                        dest='bump_patch',
                        action='store_true',
                        default=False)
    parser.add_argument('--version',
                        help='Set the version',
                        dest='version',
                        action='store',
                        default=False)
    args = parser.parse_args()
    return args