mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 07:54:17 +02:00
add API viewer, mv repl subcommand to api (#41)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user