add index create,delete, enhance index show, catch empty index arg

This commit is contained in:
T. von Dein
2026-04-29 13:44:21 +02:00
parent f89a09d1d2
commit a169d23b90
4 changed files with 178 additions and 1 deletions

View File

@@ -46,6 +46,8 @@ type Config struct {
DefaultCluster *Cluster
Index string // index: -i
Failed, Partials bool // index: flags
Shards, Replicas int // index create: -s -r
Wait bool // index create: -w
From, To, MaxItems int // search: flags
Filter []string // search: -F
Exclude string // cluster compare: -e (regexp)