I have an interactive program written in Go.
How might I go about implementing tab completion within the program?
Would command history be possible (pressing up/down arrow key)?
Example:
$ ./go-program
(Go-Program)> set option <tab tab>
I have an interactive program written in Go.
How might I go about implementing tab completion within the program?
Would command history be possible (pressing up/down arrow key)?
Example:
$ ./go-program
(Go-Program)> set option <tab tab>