mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Rename commands plugin -> command
This commit is contained in:
parent
1f19783dce
commit
5508f7cf39
4 changed files with 7 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package commands
|
||||
package command
|
||||
|
||||
import (
|
||||
"github.com/DavidGamba/go-getoptions/option"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package commands
|
||||
package command
|
||||
|
||||
import (
|
||||
"github.com/DavidGamba/go-getoptions/option"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package commands
|
||||
package command
|
||||
|
||||
import (
|
||||
"strings"
|
||||
|
|
@ -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{},
|
||||
),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue