diff --git a/docs/plugindev/README.md b/docs/plugindev/README.md index 120ee0d21..515a3b768 100644 --- a/docs/plugindev/README.md +++ b/docs/plugindev/README.md @@ -347,7 +347,7 @@ also provide shell completion for its arguments and flag values; these are referred to as "custom completions". Please refer to the Cobra project's documentation on -[Customizing completions](https://github.com/spf13/cobra/blob/main/shell_completions.md#customizing-completions) +[Customizing completions](https://github.com/spf13/cobra/blob/main/site/content/completions/_index.md#customizing-completions) to learn how to make your plugin more user-friendly using shell completion. ### Configuration file diff --git a/docs/plugindev/style_guide.md b/docs/plugindev/style_guide.md index 9ec7bbd7d..20be118d5 100644 --- a/docs/plugindev/style_guide.md +++ b/docs/plugindev/style_guide.md @@ -140,7 +140,7 @@ tanzu cluster create CLUSTER-NAME [flags] * A user should only be required to explicitly set a max of 2 flags * Add as many flags as necessary to configure the command * Consider supporting the use of a config file if the number of flags exceeds 5 -* Flags should be tab completed. The Tanzu CLI uses the cobra framework, which has tooling to help with this [Cobra shell completion docs](https://github.com/spf13/cobra/blob/master/shell_completions.md) +* Flags should be tab completed. The Tanzu CLI uses the cobra framework, which has tooling to help with this [Cobra shell completion docs](https://github.com/spf13/cobra/blob/main/site/content/completions/_index.md) #### Resource flags