natelong/p4 — pull request #4 by gcochard (2014-09-18 19:40:14+00:00)
Title: Adding many features

Added `cwd`, `cd`, `stat`, `statDir`, `recursiveStatDir`, `revert`, `submit`, `sync`, `syncDir`, `recursiveSyncDir`, `have`, and `login`.
Added parsing of `p4 fstat` output to JSON object.
Added `path.resolve` to all paths given. Works with relative and absolute paths.
Modify `exec` call to include `cwd` and arbitrary environment vars.