Retrieve records.

    Argument:

        args: arguments object

def get(args):
    """Retrieve records.

    Argument:

        args: arguments object
    """
    password = get_password(args)
    token = connect.get_token(args.username, password, args.server)

    if args.__dict__.get('search'):
        # When using '--search' option
        keyword = args.search

    else:
        keyword = ''

    if args.__dict__.get('raw_flag'):
        raw_flag = True
    else:
        raw_flag = False

    if args.__dict__.get('domain'):
        # When specified zone
        domain = args.domain
        data = processing.get_zone(args.server, token, domain,
                                   keyword, raw_flag)
        return data

    else:
        # When get all zones
        processing.get_all_zone(args.server, token)