Sha256: 249a61bc8b42bf879773324fc9667e2be077a65f87ccc17cda6d05596dbc7665
Contents?: true
Size: 411 Bytes
Versions: 34
Compression:
Stored size: 411 Bytes
Contents
module Kontena::Cli::Master::Vagrant class SshCommand < Clamp::Command include Kontena::Cli::Common def execute require 'kontena/machine/vagrant' vagrant_path = "#{Dir.home}/.kontena/vagrant_master" abort("Cannot find Vagrant kontena-master".colorize(:red)) unless Dir.exist?(vagrant_path) Dir.chdir(vagrant_path) do system('vagrant ssh') end end end end
Version data entries
34 entries across 34 versions & 1 rubygems