Class: MobileWorkflowCli::AppCleaner
- Inherits:
-
Thor
- Object
- Thor
- MobileWorkflowCli::AppCleaner
- Defined in:
- lib/mobile_workflow_cli/app_cleaner.rb
Instance Method Summary collapse
Instance Method Details
#clean(app_name) ⇒ Object
18 19 20 21 22 |
# File 'lib/mobile_workflow_cli/app_cleaner.rb', line 18 def clean(app_name) `rm -rf #{app_name}` AwsBackend.new(app_name: app_name, region: [:aws_region]).destroy if [:s3_storage] HerokuBackend.new(app_name: app_name).destroy if [:heroku] end |