Skip to content

Commit

Permalink
Update Cobra URLs for recent change (vmware-tanzu#368)
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Khouzam <kmarc@vmware.com>
  • Loading branch information
marckhouzam committed Jun 28, 2023
1 parent 7d577b6 commit 08c73c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/plugindev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/plugindev/style_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 08c73c4

Please sign in to comment.