cmd

package
v1.0.0-rc10 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2018 License: Apache-2.0 Imports: 29 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PluginInfo = pluginapi.MustNewPluginInfo(
	"com.palantir.distgo",
	"dist-plugin",
	cobracli.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"),
	),
)
View Source
var RootCmd = &cobra.Command{
	Use: "distgo",
}

Functions

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