cmd

package
v1.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 31 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version    = "unspecified"
	PluginInfo = pluginapi.MustNewPluginInfo(
		"com.palantir.distgo",
		"dist-plugin",
		Version,
		pluginapi.PluginInfoUsesConfigFile(),
		pluginapi.PluginInfoGlobalFlagOptions(
			pluginapi.GlobalFlagOptionsParamDebugFlag("--"+pluginapi.DebugFlagName),
			pluginapi.GlobalFlagOptionsParamProjectDirFlag("--"+pluginapi.ProjectDirFlagName),
			pluginapi.GlobalFlagOptionsParamGodelConfigFlag("--"+pluginapi.GodelConfigFlagName),
			pluginapi.GlobalFlagOptionsParamConfigFlag("--"+pluginapi.ConfigFlagName),
		),
		newTaskInfoFromCmd(artifactsCmd),
		newTaskInfoFromCmd(buildCmd),
		newTaskInfoFromCmd(cleanCmd),
		newTaskInfoFromCmd(distCmd),
		newTaskInfoFromCmd(dockerCmd),
		newTaskInfoFromCmd(productsCmd),
		newTaskInfoFromCmd(projectVersionCmd),
		newTaskInfoFromCmd(publishCmd),
		newTaskInfoFromCmd(runCmd),
		pluginapi.PluginInfoUpgradeConfigTaskInfo(
			pluginapi.UpgradeConfigTaskInfoCommand("upgrade-config"),
			pluginapi.LegacyConfigFile("dist.yml"),
		),
	)
)

Functions

func Execute added in v1.0.0

func Execute() int

func InitAssetCmds

func InitAssetCmds(args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL