onEnd

Returns a ListenerCommand that runs the specified action when this command is ended.