Rename commands plugin -> command

This commit is contained in:
sophia 2021-04-20 10:07:22 -05:00 committed by Paul Hinze
parent 1f19783dce
commit 5508f7cf39
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0
4 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
package commands
package command
import (
"github.com/DavidGamba/go-getoptions/option"

View File

@ -1,4 +1,4 @@
package commands
package command
import (
"github.com/DavidGamba/go-getoptions/option"

View File

@ -1,4 +1,4 @@
package commands
package command
import (
"strings"

View File

@ -2,7 +2,7 @@ package myplugin
import (
sdk "github.com/hashicorp/vagrant-plugin-sdk"
"github.com/hashicorp/vagrant/builtin/myplugin/commands"
"github.com/hashicorp/vagrant/builtin/myplugin/command"
)
//go:generate protoc -I ../../.. --go_opt=plugins=grpc --go_out=../../.. vagrant-ruby/builtin/myplugin/plugin.proto
@ -11,20 +11,20 @@ import (
var CommandOptions = []sdk.Option{
sdk.WithComponents(
&Provider{},
&commands.Command{},
&command.Command{},
),
}
var InfoOptions = []sdk.Option{
sdk.WithComponents(
&Provider{},
&commands.Info{},
&command.Info{},
),
}
var DoThingOptions = []sdk.Option{
sdk.WithComponents(
&Provider{},
&commands.DoThing{},
&command.DoThing{},
),
}