module Dapp::Dapp::Command::Common
Public Instance Methods
dimg_registry(repo = option_repo)
click to toggle source
# File lib/dapp/dapp/command/common.rb, line 17 def dimg_registry(repo = option_repo) validate_repo_name!(repo) ::Dapp::Dimg::DockerRegistry.new(self, repo) end
option_repo()
click to toggle source
# File lib/dapp/dapp/command/common.rb, line 5 def option_repo shortcut_or_key(options[:repo]) end
shortcut_or_key(key)
click to toggle source
# File lib/dapp/dapp/command/common.rb, line 9 def shortcut_or_key(key) shortcuts[key] || key end
shortcuts()
click to toggle source
# File lib/dapp/dapp/command/common.rb, line 13 def shortcuts { ':minikube' => "localhost:5000/#{name}" } end