jx: github.com/jenkins-x/jx/pkg/cmd/deprecation Index | Files

package deprecation

import "github.com/jenkins-x/jx/pkg/cmd/deprecation"

Index

Package Files

deprecated.go

func DeprecateCommands Uses

func DeprecateCommands(cmd *cobra.Command)

DeprecateCommands runs recursively over all commands and set the deprecation message on every command defined the deprecated commands map.

func GetRemovalDate Uses

func GetRemovalDate(cmd *cobra.Command) string

GetRemovalDate returns the date when the command is planned to be removed

func GetReplacement Uses

func GetReplacement(cmd *cobra.Command) string

GetReplacement returns the command replacement if any available

Package deprecation imports 4 packages (graph). Updated 2020-09-16. Refresh now. Tools for package owners.