def complete_pool_name(arg):

    search_string = '^'
    if arg is not None:
        search_string += arg

    res = Pool.search({
        'operator': 'regex_match',
        'val1': 'name',
        'val2': search_string
    })

    ret = []
    for p in res['result']:
        ret.append(p.name)

    return ret
Parse out the args and kwargs from a list of input values. Optionally,
dataset/ETHPy150Open SpriteLink/NIPAP/nipap-cli/nipap_cli/nipap_cli.py/complete_pool_name--crossover with--dataset/ETHPy150Open saltstack/salt/salt/utils/args.py/parse_input