class Fig::Command::Action::Clean

Public Instance Methods

configure(options) click to toggle source
# File lib/fig/command/action/clean.rb, line 30
def configure(options)
  @descriptor = options.descriptor
end
descriptor_requirement() click to toggle source
# File lib/fig/command/action/clean.rb, line 18
def descriptor_requirement()
  return :required
end
execute() click to toggle source
# File lib/fig/command/action/clean.rb, line 34
def execute()
  @execution_context.repository.clean(@descriptor)

  return EXIT_SUCCESS
end
load_base_package?() click to toggle source
# File lib/fig/command/action/clean.rb, line 26
def load_base_package?()
  return false
end
modifies_repository?() click to toggle source
# File lib/fig/command/action/clean.rb, line 22
def modifies_repository?()
  return true
end
options() click to toggle source
# File lib/fig/command/action/clean.rb, line 14
def options()
  return %w<--clean>
end