module Dapp::Dimg::Dapp::Command::Mrproper

Public Instance Methods

mrproper() click to toggle source
# File lib/dapp/dimg/dapp/command/mrproper.rb, line 6
def mrproper
  ruby2go_cleanup_command(:reset, ruby2go_cleanup_reset_options_dump)
end
ruby2go_cleanup_reset_options_dump() click to toggle source
# File lib/dapp/dimg/dapp/command/mrproper.rb, line 10
def ruby2go_cleanup_reset_options_dump
  ruby2go_cleanup_cache_version_options.merge(
    mode: {
      all: !!options[:proper_all],
      dev_mode_cache: !!options[:proper_dev_mode_cache],
      cache_version: proper_cache_version?
    },
    common_options: {
      dry_run: dry_run?
    },
  ).tap do |json|
    break JSON.dump(json)
  end
end