add API viewer, mv repl subcommand to api (#41)

This commit is contained in:
T. von Dein
2026-06-17 13:11:09 +02:00
parent 072e949147
commit f1ff361c12
14 changed files with 161829 additions and 267 deletions

View File

@@ -30,6 +30,7 @@ const (
Cdatastream
Crole
Ccluster
Capi
)
func complete(cmd *cli.Command, what int) {
@@ -58,6 +59,8 @@ func complete(cmd *cli.Command, what int) {
}
case Cdatastream:
list, err = es.DatastreamNames(conf)
case Capi:
list = es.ApiPathNames()
}
if err != nil {