code: def sendline(command):
      '''
      Run command through switch's cli
  
      .. code-block: bash
  
          salt '*' onyx.cmd sendline 'show run | include
          "username admin password 7"'
      '''
      if ping() is False:
          init()
      out, _ = DETAILS[_worker_name()].sendline(command)
      return ouf sendline(command):
      '''
      Run command through switch's cli
  
      .. code-block: bash
  
          salt '*' onyx.cmd sendline 'show run | include
          "username admin password 7"'
      '''
      if ping() is False:
          init()
      out, _ = DETAILS[_worker_name()].sendline(command)
      return out
docs: Run command through switch's cli
  
      .. code-block: bash
  
          salt '*' onyx.cmd sendline 'show run | include
          "username admin password 7"'