Sha256: 1563fafab2eb9edf687072fd9268222af2bfdd56bccc866c065e1ab52734b915
Contents?: true
Size: 582 Bytes
Versions: 7
Compression:
Stored size: 582 Bytes
Contents
module DevboxLauncher class CLI < Thor WAIT_BOOT_IN_SECONDS = 10.freeze DEFAULT_IDENTIFY_FILE_PATH = "~/.ssh/google_compute_engine".freeze SSH_CONFIG_PATH = File.expand_path("~/.ssh/config").freeze CONFIG_PATH = File.expand_path("~/.devbox_launcher.yml").freeze CONFIG = YAML.load_file(CONFIG_PATH).freeze desc "start configured box for account", "Start a devbox by account" option :mosh, type: :boolean, desc: "Mosh in" option :ssh, type: :boolean, desc: "SSH in" def start(account) Box.new(account, options).start end end end
Version data entries
7 entries across 7 versions & 1 rubygems