'return the options hash as cli params in a string
if ascommalist is set to the name of a key, and
the value of that key is a dict, format the dict
as a list of comma delimited key=value pairs'

def stringify(self, ascommalist=''):

    rval = []
    for key in sorted(self.config_options.keys()):
        data = self.config_options[key]
        if (data['include'] and (data['value'] or isinstance(data['value'], int))):
            if (key == ascommalist):
                val = ','.join(['{}={}'.format(kk, vv) for (kk, vv) in sorted(data['value'].items())])
            else:
                val = data['value']
            rval.append('--{}={}'.format(key.replace('_', '-'), val))
    return rval
