mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-03 20:39:27 -05:00
20 lines
405 B
Ruby
20 lines
405 B
Ruby
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module CommandServe
|
|
class Plugin < Vagrant.plugin("2")
|
|
name "start Vagrant server"
|
|
description <<-DESC
|
|
Start Vagrant in server mode
|
|
DESC
|
|
|
|
command("serve") do
|
|
require File.expand_path("../command", __FILE__)
|
|
Command
|
|
end
|
|
end
|
|
end
|
|
end
|