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 CGOEnabled ¶ added in v1.0.0
func CGOEnabled() string
func Compile ¶
func Compile(compileArgs *PluginCompileArgs) error
func Initialize ¶
Types ¶
type PluginCompileArgs ¶
type PluginCompileArgs struct { Version string SourcePath string ArtifactsDir string LDFlags string Tags string GoFlags string Match string Description string GoPrivate string PluginScopeAssociationFile string TargetArch []string GroupByOSArch bool DebugSymbols bool }
PluginCompileArgs contains the values to use for compiling plugins.
Click to show internal directories.
Click to hide internal directories.