in version 2.0.beta for esp8266 the command wifi-connect is not known.
I think the reason is the enum function (line 66ff), where the last entries are not in correct order.
, MILLIS, NOTE, EDIT, PPRINT,
AVAILABLE, WIFISERVER, WIFISOFTAP, CONNECTED, WIFILOCALIP, WIFICONNECT, ENDFUNCTIONS };
leads to a working setup (incl. wifi-connect).