mirror of https://github.com/docker/compose.git
24 lines
533 B
Go
24 lines
533 B
Go
package main
|
|
|
|
import (
|
|
"github.com/docker/ecs-plugin/cmd/commands"
|
|
"github.com/docker/ecs-plugin/internal"
|
|
|
|
"github.com/docker/cli/cli-plugins/manager"
|
|
"github.com/docker/cli/cli-plugins/plugin"
|
|
"github.com/docker/cli/cli/command"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func main() {
|
|
plugin.Run(func(dockerCli command.Cli) *cobra.Command {
|
|
cmd := commands.NewRootCmd(dockerCli)
|
|
return cmd
|
|
}, manager.Metadata{
|
|
SchemaVersion: "0.1.0",
|
|
Vendor: "Docker Inc.",
|
|
Version: internal.Version,
|
|
Experimental: true,
|
|
})
|
|
}
|