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 ¶ added in v0.23.0
func Compile(compileArgs *PluginCompileArgs) error
func Initialize ¶ added in v0.23.0
func PublishPlugins ¶ added in v0.23.0
func PublishPlugins(publishArgs *PublishArgs) error
Types ¶
type PluginCompileArgs ¶ added in v0.23.0
type PluginCompileArgs struct { Version string SourcePath string ArtifactsDir string LDFlags string Tags string CorePath string Match string Description string GoPrivate string TargetArch []string }
PluginCompileArgs contains the values to use for compiling plugins.
Click to show internal directories.
Click to hide internal directories.