'Main execution path'

def run(self, terms, variables, **kwargs):

    ret = []
    for term in terms:
        option_name = term.split()[0]
        cli_key = ('cli_' + option_name)
        if (('vars' in variables) and (cli_key in variables['vars'])):
            ret.append(variables['vars'][cli_key])
        elif (option_name in os.environ):
            ret.append(os.environ[option_name])
        else:
            ret.append('')
    return ret
