Module: Awshark::ClassOptions
- Included in:
- Awshark::CloudFormation::Subcommand, Ec2::Subcommand, Ecs::Subcommand, Rds::Subcommand, S3::Subcommand, Ssm::Subcommand
- Defined in:
- lib/awshark/class_options.rb
Instance Method Summary collapse
Instance Method Details
#process_class_options ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/awshark/class_options.rb', line 5 def command = current_command_chain.last = .merge( || {}).symbolize_keys if [:help] respond_to?(command) ? help(command) : help exit(0) end setup_aws_credentials() end |