add api

allows you to bump `path` without having to use `spawn()`.

cc @ianstormtaylor