Module: Dapp::Dimg::Dapp::Command::Stages::FlushRepo

Included in:
Dapp
Defined in:
lib/dapp/dimg/dapp/command/stages/flush_repo.rb

Instance Method Summary collapse

Instance Method Details

#ruby2go_cleanup_stages_flush_repo_options_dumpObject



11
12
13
14
15
16
17
18
19
20
21
# File 'lib/dapp/dimg/dapp/command/stages/flush_repo.rb', line 11

def ruby2go_cleanup_stages_flush_repo_options_dump
  ruby2go_cleanup_common_repo_options.merge(
    mode: {
      with_dimgs: false,
      with_stages: true,
      only_repo: true,
    },
  ).tap do |json|
    break JSON.dump(json)
  end
end

#stages_flush_repoObject



7
8
9
# File 'lib/dapp/dimg/dapp/command/stages/flush_repo.rb', line 7

def stages_flush_repo
  ruby2go_cleanup_command(:flush, ruby2go_cleanup_stages_flush_repo_options_dump)
end