Files
Archive/geoip/main.go
2024-07-08 20:31:44 +02:00

22 lines
377 B
Go

package main
import (
"log"
"github.com/spf13/cobra"
)
var rootCmd = &cobra.Command{
Use: "geoip",
Short: "geoip is a convenient tool to merge, convert and lookup IP & CIDR from various formats of geoip data.",
CompletionOptions: cobra.CompletionOptions{
HiddenDefaultCmd: true,
},
}
func main() {
if err := rootCmd.Execute(); err != nil {
log.Fatal(err)
}
}