github.com/nu11ptr/cliexpect (go): Package cliexpect is designed to work specifically with CLI shell interfaces. Specifically, it always assumes a prompt will separate the data allowing easy traversal of multiple outputs.
Keywords: cli|expect|golang