21 lines
428 B
Ruby
21 lines
428 B
Ruby
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module CommandValidate
|
|
class Plugin < Vagrant.plugin("2")
|
|
name "validate command"
|
|
description <<-DESC
|
|
The `validate` command validates the Vagrantfile.
|
|
DESC
|
|
|
|
command("validate") do
|
|
require File.expand_path("../command", __FILE__)
|
|
Command
|
|
end
|
|
end
|
|
end
|
|
end
|