Documentation
¶
Overview ¶
Package command provides handling to generate new scaffolding, compile, and publish CLI plugins.
Package command provides handling to generate new scaffolding, compile, and publish CLI plugins.
Index ¶
Constants ¶
View Source
const AllTargets cli.Arch = "all"
AllTargets are all the known targets.
Variables ¶
This section is empty.
Functions ¶
func Compile ¶
func Compile(compileArgs *PluginCompileArgs) error
func Initialize ¶
func PublishPlugins ¶
func PublishPlugins(publishArgs *PublishArgs) error
Types ¶
type PluginCompileArgs ¶
type PluginCompileArgs struct {
Version string
SourcePath string
ArtifactsDir string
LDFlags string
Tags string
Match string
Description string
GoPrivate string
PluginScopeAssociationFile string
TargetArch []string
GroupByOSArch bool
}
PluginCompileArgs contains the values to use for compiling plugins.
Click to show internal directories.
Click to hide internal directories.