20 lines
514 B
Go
20 lines
514 B
Go
package myplugin
|
|
|
|
import (
|
|
sdk "github.com/hashicorp/vagrant-plugin-sdk"
|
|
"github.com/hashicorp/vagrant/builtin/myplugin/command"
|
|
"github.com/hashicorp/vagrant/builtin/myplugin/host"
|
|
)
|
|
|
|
//go:generate protoc -I ../../.. --go_opt=plugins=grpc --go_out=../../.. vagrant-ruby/builtin/myplugin/plugin.proto
|
|
|
|
// Options are the SDK options to use for instantiation.
|
|
var CommandOptions = []sdk.Option{
|
|
sdk.WithComponents(
|
|
&Provider{},
|
|
&command.Command{},
|
|
&host.AlwaysTrueHost{},
|
|
),
|
|
sdk.WithName("myplugin"),
|
|
}
|