add index ls command, add table and color support

This commit is contained in:
2026-04-21 15:05:15 +02:00
parent 2b21fa0e7e
commit a7d979ca38
12 changed files with 344 additions and 18 deletions

View File

@@ -31,12 +31,12 @@ const (
)
type Config struct {
Uri, User, Pass string
ES *elasticsearch.TypedClient
Debug bool
From, To int
Index string
Filter []string
Uri, User, Pass string
ES *elasticsearch.TypedClient
Debug bool
From, To, MaxItems int
Index string
Filter []string
}
func Init() (*Config, error) {