

def version():
    "\n    Return imgadm version\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' imgadm.version\n    "
    ret = {
        
    }
    imgadm = _check_imgadm()
    cmd = '{0} --version'.format(imgadm)
    res = __salt__['cmd.run'](cmd).splitlines()
    ret = ret[0].split()
    return ret[(- 1)]

dataset/ETHPy150Open saltstack/salt/salt/modules/smartos_imgadm.py version/VarMisuse@49/118 `res`->`ret`