We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b03a95 commit 81f41c7Copy full SHA for 81f41c7
completers/ip_completer/cmd/address_add.go
@@ -0,0 +1,23 @@
1
+package cmd
2
+
3
+import (
4
+ "github.com/rsteube/carapace"
5
+ "github.com/rsteube/carapace-bin/pkg/actions/net"
6
+ "github.com/spf13/cobra"
7
+)
8
9
+var address_addCmd = &cobra.Command{
10
+ Use: "add",
11
+ Short: "add ip address",
12
+ Run: func(cmd *cobra.Command, args []string) {},
13
+}
14
15
+func init() {
16
+ carapace.Gen(address_addCmd).Standalone()
17
18
+ addressCmd.AddCommand(address_addCmd)
19
20
+ carapace.Gen(address_addCmd).PositionalCompletion(
21
+ net.ActionIpv4Addresses(),
22
+ )
23
0 commit comments