# Functions
ApplyDefaultConfig applies default configurations to plugin descriptor.
GetInvocationContext returns information about how a Tanzu CLI command is invoked (from the CLI's perspective).
NewPlugin creates an instance of Plugin.
SyncPluginsForContextType will attempt to install plugins required by the active Context of the provided contextType.
SyncPluginsForTarget will attempt to install plugins required by the active Context of the provided target.
ValidatePlugin validates the plugin descriptor.
WithErrorWriter specifies the CommandOption for configuring Stderr.
WithNoStderr specifies to ignore stderr.
WithNoStdout specifies to ignore stdout.
WithOutputWriter specifies the CommandOption for configuring Stdout.
# Constants
AdminCmdGroup are admin commands.
BuildCmdGroup are commands associated with Tanzu Build.
CmdTemplate is the template for plugin commands.
DefaultDocsDir is the base docs directory.
DynamicPluginCompletion indicates command line completion will be retrieved from the plugin at runtime.
No description provided by the author
ExtraCmdGroup is the extra command group.
ManageCmdGroup are commands associated with Tanzu Manage.
NativePluginCompletion indicates command line completion is determined using the built in cobra.Command __complete mechanism.
ObserveCmdGroup are commands associated with Tanzu Observe.
No description provided by the author
RunCmdGroup are commands associated with Tanzu Run.
StaticPluginCompletion indicates command line completion will be done by using a statically defined list of options.
SystemCmdGroup are system commands.
TargetCmdGroup are various target commands.
TestCmdGroup is the test command group.
VersionCmdGroup are version commands.
# Variables
TemplateFuncs are the template usage funcs.
UsageFunc is the usage func for a plugin.
# Structs
CommandMapEntry describes how a command or subcommand should be remapped in the Tanzu CLI.
InvocationContext provides details regarding how a plugin's command is being called by the Tanzu CLI.
Plugin is a Tanzu CLI plugin.
PluginDescriptor describes a plugin binary.
# Type aliases
CmdGroup is a group of CLI commands.
No description provided by the author
Hook is the mechanism used to define function for plugin hooks.
PluginCompletionType is the mechanism used for determining command line completion options.