Enable completion for flux tree cmd

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
pull/2032/head
Stefan Prodan 3 years ago
parent d3e529b8a4
commit 37746023c1
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

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

Loading…
Cancel
Save