# File lib/rudy/cli/aws/ec2/groups.rb, line 14 14: def create_groups 15: opts = check_options 16: execute_action { 17: Rudy::AWS::EC2::Groups.create(@argv.name, @option.description, opts[:addresses], opts[:ports], opts[:protocols]) 18: } 19: Rudy::AWS::EC2::Groups.list(@argv.name) do |group| 20: li @@global.verbose > 0 ? group.inspect : group.dump(@@global.format) 21: end 22: end