Documentation ¶
Overview ¶
Package command provides functions to manipulate tanzu cli commands
Index ¶
- func DeprecateCommand(cmd *cobra.Command, removalVersion string)
- func DeprecateCommandWithAlternative(cmd *cobra.Command, removalVersion, alternative string)
- func DeprecateFlag(cmd *cobra.Command, flag, removalVersion string)
- func DeprecateFlagWithAlternative(cmd *cobra.Command, flag, removalVersion, alternative string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeprecateCommand ¶
DeprecateCommand marks the command as deprecated and adds deprecation message.
func DeprecateCommandWithAlternative ¶
DeprecateCommandWithAlternative marks the commands as deprecated and adds deprecation message with an alternative.
func DeprecateFlag ¶
DeprecateFlag marks the flag as deprecated and hidden with a deprecation message.
func DeprecateFlagWithAlternative ¶
DeprecateFlagWithAlternative marks the flag as deprecated and hidden with deprecation message recommending an alternative flag to use.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.