feat: add cmd switch -p/--with_type_prefix

This commit is contained in:
2023-01-28 20:01:47 +08:00
committed by kunish
parent bc106cd8b8
commit d789789483
4 changed files with 40 additions and 22 deletions

View File

@@ -5,6 +5,13 @@ import (
"github.com/urlesistiana/v2dat/cmd"
)
type UnpackArgs struct {
outDir string
file string
filters []string
with_type_prefix bool
}
var unpack = &cobra.Command{
Use: "unpack",
Short: "unpack geosite and geoip to text files.",