Simply add your command implementations to the Terminal.dart by adding commands to the CMDS list and providing functions to the matching switch statement.
With in the next day or so the dart-web-terminal should include an example with filesystem API in dart.