dexpect 0.0.1

A D implementation of the expect tool.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

D Implementation of the Expect framework (http://expect.sourceforge.net/)

Currently *nix only, though will look into writing it for windows aswell.

TODOs:

-> Implement an expect(string[] toExpect) method, that returns an int representing the index of the array which was matched. This will allow int idx = expect(["password:", "username:"]); constructs to handle multiple cases in one expect call.

-> Properly test, and write unittests to be sure it all works correctly for edge cases.

-> Look into supporting Windows.

Authors:
  • Colin Grogan
Dependencies:
none
Versions:
0.0.3 2015-May-24
0.0.2 2015-May-13
0.0.1 2015-May-08
~master 2018-Oct-10
~refactorSwitchBranch 2015-Jun-02
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 318 downloads total

Score:
0.4
Short URL:
dexpect.dub.pm