File: plugin.rb

package info (click to toggle)
vagrant 1.6.5%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,684 kB
  • ctags: 4,284
  • sloc: ruby: 40,505; sh: 147; makefile: 3; lisp: 1
file content (18 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require "vagrant"

module VagrantPlugins
  module CommandSSHConfig
    class Plugin < Vagrant.plugin("2")
      name "ssh-config command"
      description <<-DESC
      The `ssh-config` command dumps an OpenSSH compatible configuration
      that can be used to quickly SSH into your virtual machine.
      DESC

      command("ssh-config") do
        require File.expand_path("../command", __FILE__)
        Command
      end
    end
  end
end