class MCollective::Application::Find

Public Instance Methods

main() click to toggle source
# File plugins/mcollective/application/find.rb, line 4
def main
    client = MCollective::Client.new(options[:config])
    client.options = options

    stats = client.req("ping", "discovery") do |resp|
        puts resp[:senderid]
    end

    client.display_stats(stats) if options[:verbose]
end