Auto detect if need country group

This commit is contained in:
2024-10-01 01:27:22 +08:00
parent a1dcc1867f
commit 59a258f4ef
10 changed files with 183 additions and 1239 deletions

View File

@ -56,7 +56,6 @@ func convertRun(cmd *cobra.Command, args []string) {
template,
delete,
rename,
group,
groupType,
sortKey,
sortType,
@ -121,9 +120,6 @@ func mergeConfig(cfg model.ConvertRequest) {
if len(rename) == 0 {
rename = cfg.Rename
}
if !group {
group = cfg.Group
}
if groupType == "" {
groupType = cfg.GroupType
}