class Dapp::Dimg::CLI::Command::Dimg::Stages::CleanupLocal

Public Instance Methods

repo() click to toggle source
# File lib/dapp/dimg/cli/command/dimg/stages/cleanup_local.rb, line 37
def repo
  config[:proper_repo_cache] ? self.class.required_argument(self, 'repo') : nil
end
run(argv = ARGV) click to toggle source
# File lib/dapp/dimg/cli/command/dimg/stages/cleanup_local.rb, line 31
def run(argv = ARGV)
  self.class.parse_options(self, argv)
  repository = repo
  run_dapp_command(run_method, options: cli_options(repo: repository))
end
run_method() click to toggle source
# File lib/dapp/dimg/cli/command/dimg/stages/cleanup_local.rb, line 41
def run_method
  :stages_cleanup_local
end