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

22 lines
392 B
Go

package main
import (
"github.com/Loyalsoldier/geoip/lib"
"github.com/spf13/cobra"
)
func init() {
rootCmd.AddCommand(listCmd)
}
var listCmd = &cobra.Command{
Use: "list",
Aliases: []string{"l", "ls"},
Short: "List all available input and output formats",
Run: func(cmd *cobra.Command, args []string) {
lib.ListInputConverter()
println()
lib.ListOutputConverter()
},
}