Class: S3SizeCalc::CLI
- Inherits:
-
Thor
- Object
- Thor
- S3SizeCalc::CLI
- Includes:
- Thor::Aws
- Defined in:
- lib/s3sizecalc/cli.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
24 25 26 |
# File 'lib/s3sizecalc/cli.rb', line 24 def all puts "Account total: #{format_size(calculator.account_total)}" end |
#bucket ⇒ Object
14 15 16 |
# File 'lib/s3sizecalc/cli.rb', line 14 def bucket puts "Bucket (#{.bucket}) total: #{format_size(calculator.bucket_total)}" end |
#region ⇒ Object
19 20 21 |
# File 'lib/s3sizecalc/cli.rb', line 19 def region puts "Region (#{calculator.current_region}) total: #{format_size(calculator.region_total)}" end |