bumped to plugman 0.10.0. added optimist. refactored cli shim into own module.