2023-08-10 16:53:25 -04:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2012-04-19 16:59:48 -04:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
|
module CommandInit
|
2012-11-07 00:05:14 -05:00
|
|
|
class Plugin < Vagrant.plugin("2")
|
2012-04-19 16:59:48 -04:00
|
|
|
name "init command"
|
|
|
|
|
description <<-DESC
|
|
|
|
|
The `init` command sets up your working directory to be a
|
|
|
|
|
Vagrant-managed environment.
|
|
|
|
|
DESC
|
|
|
|
|
|
2012-05-23 19:18:29 -04:00
|
|
|
command("init") do
|
2012-05-22 01:43:13 -04:00
|
|
|
require File.expand_path("../command", __FILE__)
|
2012-05-23 19:18:29 -04:00
|
|
|
Command
|
2012-05-22 01:43:13 -04:00
|
|
|
end
|
2012-04-19 16:59:48 -04:00
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|