macOS xterm-256color zsh 998 views

This framework allows you to create programs using Go to run an interactive program programmatically in an easy way. This can be useful both for automation and running integration / functional tests that for CLI tools with prompts intended for human beings.

https://github.com/henvic/pseudoterm

See example/main.go to see the code for this example.