mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-22 00:30:40 +00:00
29 lines
573 B
Go
29 lines
573 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/thegeeklab/wp-opentofu/plugin"
|
|
|
|
wp "github.com/thegeeklab/wp-plugin-go/plugin"
|
|
)
|
|
|
|
//nolint:gochecknoglobals
|
|
var (
|
|
BuildVersion = "devel"
|
|
BuildDate = "00000000"
|
|
)
|
|
|
|
func main() {
|
|
settings := &plugin.Settings{}
|
|
options := wp.Options{
|
|
Name: "wp-opentofu",
|
|
Description: "Manage infrastructure with OpenTofu",
|
|
Version: BuildVersion,
|
|
VersionMetadata: fmt.Sprintf("date=%s", BuildDate),
|
|
Flags: settingsFlags(settings, wp.FlagsPluginCategory),
|
|
}
|
|
|
|
plugin.New(options, settings).Run()
|
|
}
|