Class: Terraspace::CLI::Clean

Inherits:
Terraspace::Command show all
Defined in:
lib/terraspace/cli/clean.rb,
lib/terraspace/cli/clean/all.rb,
lib/terraspace/cli/clean/base.rb,
lib/terraspace/cli/clean/logs.rb,
lib/terraspace/cli/clean/cache.rb

Defined Under Namespace

Classes: All, Base, Cache, Logs

Instance Method Summary collapse

Methods inherited from Terraspace::Command

alter_command_description, check_project!, check_standalone_install!, command_help, dispatch, exit_on_failure?, help_flags, initial_dispatch_command, opt?, rbenv?, reset_dispatch_command, rvm?, subcommand?, website

Methods included from Util::Logging

#logger

Instance Method Details

#allObject



7
8
9
# File 'lib/terraspace/cli/clean.rb', line 7

def all
  All.new(options).run
end

#cacheObject



13
14
15
# File 'lib/terraspace/cli/clean.rb', line 13

def cache
  Cache.new(options).run
end

#logsObject



20
21
22
# File 'lib/terraspace/cli/clean.rb', line 20

def logs
  Logs.new(options).run
end