Sha256: 2b56ceae8e49b0d9512269527cf72edae4967ab7a1d92f80e47a2a03d6978671
Contents?: true
Size: 982 Bytes
Versions: 3
Compression:
Stored size: 982 Bytes
Contents
# encoding: UTF-8 # frozen_string_literal: true # Refinements # ======================================================================= using NRSER using NRSER::Types # Definitions # ======================================================================= # TODO Doc me pls # class Locd::CLI::Command::Site < Locd::CLI::Command::Agent # Helpers # ============================================================================ # def self.agent_class Locd::Agent::Site end protected # ======================================================================== 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 # end protected public end # class Locd::CLI::Command::Site
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
locd-0.1.5 | lib/locd/cli/command/site.rb |
locd-0.1.4 | lib/locd/cli/command/site.rb |
locd-0.1.3 | lib/locd/cli/command/site.rb |