# File lib/nucleon/action/cloud/inspect.rb, line 10 def self.describe super(:cloud, :inspect, 950) end
# File lib/nucleon/action/cloud/inspect.rb, line 25 def arguments [ :elements ] end
# File lib/nucleon/action/cloud/inspect.rb, line 17 def configure super do register :elements, :array, [] end end
# File lib/nucleon/action/cloud/inspect.rb, line 32 def execute super do |node, network| ensure_network(network) do if settings[:elements].empty? data = network.config.export else data = network.config.get(settings[:elements]) end ui.info("\n\n" + CORL.render_object(data) + "\n\n") end end end