<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

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 ret