Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Feb 27, 2022
1 parent 36f358f commit 07b1279
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions completers/ip_completer/cmd/address_add.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,17 @@ package cmd

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

var address_addCmd = &cobra.Command{
Use: "add",
Short: "add ip address",
Short: "add new protocol address",
Run: func(cmd *cobra.Command, args []string) {},
}

func init() {
carapace.Gen(address_addCmd).Standalone()

addressCmd.AddCommand(address_addCmd)

carapace.Gen(address_addCmd).PositionalCompletion(
net.ActionIpv4Addresses(),
)
}

0 comments on commit 07b1279

Please sign in to comment.