add "cluster compare" command and add 1st check (unsync indices) (#2)

This commit is contained in:
T. von Dein
2026-04-27 13:05:30 +02:00
parent 17f92874e5
commit 3cbc67567b
5 changed files with 214 additions and 7 deletions

View File

@@ -44,10 +44,11 @@ type Config struct {
Debug bool // -d
Clusters map[string]*Cluster
DefaultCluster *Cluster
From, To, MaxItems int
Index string
Filter []string
Failed, Partials bool
Index string // index: -i
Failed, Partials bool // index: flags
From, To, MaxItems int // search: flags
Filter []string // search: -F
Exclude string // cluster compare: -e (regexp)
}
func NewConfig() *Config {