module Dapp::Dimg::Dapp::Command::FlushRepo

Public Instance Methods

flush_repo() click to toggle source
# File lib/dapp/dimg/dapp/command/flush_repo.rb, line 6
def flush_repo
  ruby2go_cleanup_command(:flush, ruby2go_cleanup_flush_repo_options_dump)
end
ruby2go_cleanup_flush_repo_options_dump() click to toggle source
# File lib/dapp/dimg/dapp/command/flush_repo.rb, line 10
def ruby2go_cleanup_flush_repo_options_dump
  ruby2go_cleanup_common_repo_options.merge(
    mode: {
      with_dimgs: true,
      with_stages: with_stages?,
      only_repo: true,
    }
  ).tap do |json|
    break JSON.dump(json)
  end
end