Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Sep 28, 2023
1 parent ee41258 commit 75bc789
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions completers/k3d_completer/cmd/node_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package cmd

import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/k3d"
"github.com/spf13/cobra"
)

Expand All @@ -17,4 +18,8 @@ func init() {
node_deleteCmd.Flags().BoolP("all", "a", false, "Delete all existing nodes")
node_deleteCmd.Flags().BoolP("registries", "r", false, "Also delete registries")
nodeCmd.AddCommand(node_deleteCmd)

carapace.Gen(node_deleteCmd).PositionalAnyCompletion(
k3d.ActionNodes().FilterArgs(),
)
}

0 comments on commit 75bc789

Please sign in to comment.