Merge pull request #2032 from fluxcd/tree-completion

Enable completion for flux tree cmd
pull/2033/head
Stefan Prodan 3 years ago committed by GitHub
commit b9bde94d08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,8 @@ var treeKsCmd = &cobra.Command{
# Print the Flux resources managed by the root Kustomization
flux tree kustomization flux-system --compact`,
RunE: treeKsCmdRun,
RunE: treeKsCmdRun,
ValidArgsFunction: resourceNamesCompletionFunc(kustomizev1.GroupVersion.WithKind(kustomizev1.KustomizationKind)),
}
type TreeKsFlags struct {

Loading…
Cancel
Save