Class: DearS3::Cli::S3
- Inherits:
-
Thor
- Object
- Thor
- DearS3::Cli::S3
- Defined in:
- lib/dears3/cli/s3.rb
Instance Method Summary collapse
Instance Method Details
#auth ⇒ Object
24 25 26 27 28 29 30 |
# File 'lib/dears3/cli/s3.rb', line 24 def auth # If credentials file already exists and user doesn't # choose to override, do nothing. if credentials = authentication_helper.maybe_get_credentials authentication_helper.save_credentials! credentials end end |
#publish ⇒ Object
14 15 16 |
# File 'lib/dears3/cli/s3.rb', line 14 def publish client_helper.publish end |
#unpublish ⇒ Object
19 20 21 |
# File 'lib/dears3/cli/s3.rb', line 19 def unpublish client_helper.unpublish end |
#upload ⇒ Object
9 10 11 |
# File 'lib/dears3/cli/s3.rb', line 9 def upload client_helper.upload end |