Sha256: bf3ce8d6c2e4128c19e53905859accdf5ef21825f5059cbcfb3a2dec6be529a5
Contents?: true
Size: 658 Bytes
Versions: 8
Compression:
Stored size: 658 Bytes
Contents
require "irb/command" module MissionControl::Jobs::Console class JobsHelp < IRB::Command::Base category "Mission control jobs" description "Show help for managing jobs" def execute(*) puts "You are currently connected to #{MissionControl::Jobs::Current.server}" if MissionControl::Jobs::Current.server puts "You can connect to a job server with" puts %( connect_to <app_id>:<server_id>\n\n) puts "Available job servers:\n" MissionControl::Jobs.applications.each do |application| application.servers.each do |server| puts " * #{server.to_global_id}" end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems