Class: Sonic::Command
- Inherits:
-
BaseCommand
- Object
- Thor
- BaseCommand
- Sonic::Command
- Defined in:
- lib/sonic/command.rb
Instance Method Summary collapse
-
#send(filter, *command) ⇒ Object
filter - Filter ec2 instances by tag name or instance_ids separated by commas.
Methods inherited from BaseCommand
alter_command_description, command_help, dispatch, website
Instance Method Details
#send(filter, *command) ⇒ Object
filter - Filter ec2 instances by tag name or instance_ids separated by commas
7 8 9 |
# File 'lib/sonic/command.rb', line 7 def send(filter, *command) Commander.new(command, .merge(filter: filter)).execute end |