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

@@ -76,11 +76,12 @@ func Main() int {
Search(conf),
Index(conf),
Snapshot(conf),
Cluster(conf),
},
Before: func(ctx context.Context, cmd *cli.Command) (context.Context, error) {
if err := conf.Init(); err != nil {
Finish(err)
return nil, err
}
log.Init(conf)