code: def show_run():
      '''
      Shortcut to run `show run` on switch
  
      .. code-block:: bash
  
          salt '*' onyx.cmd show_run
      '''
      try:
          enable()
          configure_terminal()
          ret = sendline('show running-config')
          configure_terminal_exit()
          disable()
      except TerminalException as e:
          log.error(e)
          return 'Failed to show running-config on switch'
      return ref show_run():
      '''
      Shortcut to run `show run` on switch
  
      .. code-block:: bash
  
          salt '*' onyx.cmd show_run
      '''
      try:
          enable()
          configure_terminal()
          ret = sendline('show running-config')
          configure_terminal_exit()
          disable()
      except TerminalException as e:
          log.error(e)
          return 'Failed to show running-config on switch'
      return ret
docs: Shortcut to run `show run` on switch
  
      .. code-block:: bash
  
          salt '*' onyx.cmd show_run