Class: Swa::CLI::BaseCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Swa::CLI::BaseCommand
- Includes:
- DataOutput
- Defined in:
- lib/swa/cli/base_command.rb
Direct Known Subclasses
AthenaCommand, CloudFormationCommand, Ec2Command, ElbCommand, GlueCommand, IamCommand, KmsCommand, LakeFormationCommand, MainCommand, S3Command
Instance Method Summary collapse
Methods included from DataOutput
Instance Method Details
#run(arguments) ⇒ Object
26 27 28 29 30 31 32 |
# File 'lib/swa/cli/base_command.rb', line 26 def run(arguments) super(arguments) rescue Aws::Errors::MissingCredentialsError signal_error "no credentials provided" rescue Aws::Errors::ServiceError => e signal_error e. end |