simple configs

    Args:
        argname (str):
        default (list): (default = [])
        named_defaults_dict (dict): (default = None)
        valid_keys (None): (default = None)

    Returns:
        list: cfg_list

    CommandLine:
        python -m utool.util_gridsearch --exec-parse_argv_cfg --filt :foo=bar
        python -m utool.util_gridsearch --exec-parse_argv_cfg

    Example:
        >>> # DISABLE_DOCTEST
        >>> from utool.util_gridsearch import *  # NOQA
        >>> import utool as ut
        >>> argname = '--filt'
        >>> cfg_list = parse_argv_cfg(argname)
        >>> result = ('cfg_list = %s' % (six.text_type(cfg_list),))
        >>> print(result)

def parse_argv_cfg(argname, default=[''], named_defaults_dict=None,
                   valid_keys=None, alias_keys=None):
    """
    simple configs

    Args:
        argname (str):
        default (list): (default = [])
        named_defaults_dict (dict): (default = None)
        valid_keys (None): (default = None)

    Returns:
        list: cfg_list

    CommandLine:
        python -m utool.util_gridsearch --exec-parse_argv_cfg --filt :foo=bar
        python -m utool.util_gridsearch --exec-parse_argv_cfg

    Example:
        >>> # DISABLE_DOCTEST
        >>> from utool.util_gridsearch import *  # NOQA
        >>> import utool as ut
        >>> argname = '--filt'
        >>> cfg_list = parse_argv_cfg(argname)
        >>> result = ('cfg_list = %s' % (six.text_type(cfg_list),))
        >>> print(result)
    """
    import utool as ut
    if ut.in_jupyter_notebook():
        # dont parse argv in ipython notebook
        cfgstr_list = default
    else:
        cfgstr_list = ut.get_argval(argname, type_=list, default=default)
    if cfgstr_list is None:
        return None
    cfg_combos_list = parse_cfgstr_list2(cfgstr_list,
                                         named_defaults_dict=named_defaults_dict,
                                         valid_keys=valid_keys,
                                         alias_keys=alias_keys,
                                         strict=False)
    cfg_list = ut.flatten(cfg_combos_list)
    return cfg_list