Skip to content
Snippets Groups Projects
Unverified Commit b9bde94d authored by Stefan Prodan's avatar Stefan Prodan Committed by GitHub
Browse files

Merge pull request #2032 from fluxcd/tree-completion

Enable completion for flux tree cmd
parents d3e529b8 37746023
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,8 @@ var treeKsCmd = &cobra.Command{ ...@@ -50,7 +50,8 @@ var treeKsCmd = &cobra.Command{
# Print the Flux resources managed by the root Kustomization # Print the Flux resources managed by the root Kustomization
flux tree kustomization flux-system --compact`, flux tree kustomization flux-system --compact`,
RunE: treeKsCmdRun, RunE: treeKsCmdRun,
ValidArgsFunction: resourceNamesCompletionFunc(kustomizev1.GroupVersion.WithKind(kustomizev1.KustomizationKind)),
} }
type TreeKsFlags struct { type TreeKsFlags struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment