Locd::CLI::Command::Agent
TODO Doc me pls
Helpers
# File lib/locd/cli/command/site.rb, line 23 def self.agent_class Locd::Agent::Site end
# File lib/locd/cli/command/site.rb, line 31 def agent_table agents Locd::CLI::Table.build do |t| t.col "PID", &:pid t.col "LEC", desc: "Last Exit Code", &:last_exit_code t.col "URL", &:url t.col "Port", &:port t.col "File" do |agent| agent_file agent end t.rows agents end end