Sha256: 83ccd904aa54b526dc1acc1b087aabf599a0e5ebd498b90e2bcc44dc994002fe
Contents?: true
Size: 461 Bytes
Versions: 10
Compression:
Stored size: 461 Bytes
Contents
module Brightbox desc 'List Firewall Policies' arg_name '[firewall-policy-id...]' command [:list] do |c| c.action do |global_options,options,args| if args.empty? firewall_policies = FirewallPolicy.find(:all) else firewall_policies = FirewallPolicy.find_or_call(args) do |id| warn "Couldn't find firewall policy #{id}" end end render_table(firewall_policies, global_options) end end end
Version data entries
10 entries across 10 versions & 1 rubygems