# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1

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
