def sudo(command, show=True, *args, **kwargs):
    """
    Runs a command as sudo on the remote server.
    """
    if show:
        print_command(command)
    with hide("running"):
        return _sudo(command, *args, **kwargs)
def sudo ( command , show = True , * args , ** kwargs ) : if show : print_command ( command ) with hide ( "running" ) : return _sudo ( command , * args , ** kwargs )
Runs a command as sudo on the remote server.