pseudoterm: run iterative programs programmatically with Go.

by henvic secret
macOS ◆ xterm-256color ◆ zsh 726 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.