awesome nailed down the actual args and stuff

This commit is contained in:
Peter Cottle 2013-10-15 17:25:55 -07:00
parent bf48e54bbe
commit e99b6d7c61
4 changed files with 49 additions and 15 deletions

View file

@ -9,7 +9,10 @@ prompt.get(['command'], function(err, result) {
var headless = new HeadlessGit();
headless.sendCommand(result.command);
setTimeout(function() {
console.log(headless.gitEngine.printTree());
console.log('expectTreeAsync(');
console.log(" \t'" + result.command + "',");
console.log(" \t'" + headless.gitEngine.printTree() + "'");
console.log(');');
}, 100);
});