mirror of
https://github.com/thegeeklab/wp-s3-action.git
synced 2024-11-28 19:30:35 +00:00
29 lines
558 B
Go
29 lines
558 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/thegeeklab/wp-s3-action/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-s3-action",
|
|
Description: "Perform S3 actions",
|
|
Version: BuildVersion,
|
|
VersionMetadata: fmt.Sprintf("date=%s", BuildDate),
|
|
Flags: settingsFlags(settings, wp.FlagsPluginCategory),
|
|
}
|
|
|
|
plugin.New(options, settings).Run()
|
|
}
|