tt icon indicating copy to clipboard operation
tt copied to clipboard

`tt connect` No completion with --evaler

Open d-enk opened this issue 9 months ago • 4 comments

Image

Image

d-enk avatar Feb 18 '25 11:02 d-enk

@psergee why not?

https://github.com/tarantool/tt/blob/956c5cdd717ba1a4526224ad3e252fed807641ed/cli/connect/console.go#L283-L287

d-enk avatar Feb 24 '25 13:02 d-enk

@psergee why not?

The custom evaler is designed to process custom commands that may not be related to Tarantool lua API, boxes, spaces, or other elements at all.

psergee avatar Apr 01 '25 08:04 psergee

In my scenario, it is convenient to use some handler that will be executed for each result (interception and modification) of executing a console command. Basically just a custom output.

Maybe it can be done somehow differently?

d-enk avatar Apr 01 '25 08:04 d-enk

In my scenario, it is convenient to use some handler that will be executed for each result (interception and modification) of executing a console command. Basically just a custom output.

Maybe it can be done somehow differently?

In such cases, it might be helpful to add the ability to use Tarantool's default suggestions with a custom evaler.

psergee avatar Apr 01 '25 10:04 psergee