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