5 ms·
I use pexpect as the basis of an automation framework I use a lot: https://github.com/ianmiell/shutit/blob/master/README.md https://github.com/ianmiell/shutit/
by zwischenzug 10y ago
I use pexpect as the basis of an automation framework I use a lot:
https://github.com/ianmiell/shutit/blob/master/README.md https://github.com/ianmiell/shutit/blob/master/README.md
Recently I used it to migrate an etcd cluster within OpenShift reproducibly:
https://medium.com/@zwischenzugs/migrating-an-openshift-etcd-cluster-a7e43e861d61 https://medium.com/@zwischenzugs/migrating-an-openshift-etcd...
- zwischenzug 10y agoPS I also wrote autopexpect, which is based on another underrated tool (autoexpect) https://github.com/ianmiell/autopexpect https://github.com/ianmiell/autopexpect http://expect.sourceforge.net/example/autoexpect.man.html http://expect.sourceforge.net/example/autoexpect.man.html
- SEJeff 10y agoOh this is really nice! I've used pexpect (and pxssh) extensively along with expect in a previous lifetime. I'd always meant to write an "autopexpect" or "autopxssh" and never did. Thanks!
- zwischenzug 10y agoGlad to hear it! It's very raw, so please do contribute if you can.