mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-25 17:11:48 +00:00
Merge pull request #2032 from fluxcd/tree-completion
Enable completion for flux tree cmd
This commit is contained in:
commit
b9bde94d08
1 changed files with 2 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue