code: function runNew(){
    if (args[1] && args[2]) {
      var targetPath = args[2];
      if(targetPath == '.') {
        console.error('Invalid app name, you may not specify \'.\' as an app name'.error);
        process.exit(0);
      }
      if (fs.existsSync(targetPath)) {
        console.error(('Invalid app name "' + targetPath + '", directory already exists').error);
        process.exit(0);
      }
      getTemplatesList().then(function(knownTemplates){
        var template = _.find(knownTemplates, function(el){return el.id == args[1];})
        if (!template) {
          if (validURL(args[1])) {
            template = {repo: args[1], name : "dummy"};
          }
        }
        if (template) {
          console.log('Cloning MobileCaddy template "' + args[1] + '" from ' + template.repo);
          fetchArchive(targetPath, template).then(function(){
            console.log('Clone complete'.info);
            return installNpmDeps(targetPath);
          }).then(function(){
            console.log('NPM dependancies installed'.info);
            cd(targetPath);
            return installBowerDeps(targetPath);
          }).then(function(res){
            if (res != "no-bower.json") console.log('Bower dependancies installed'.info);
            return runInitGruntTask(targetPath)
          }).then(function(){
            console.log('Grunt tasks completed'.info);
            process.exit(0);
          }).catch(function(err){
            console.error(err.error);
            process.exit(0);
          });
        } else if (validURL(args[1])) {
          console.log("That looks like a URL, nice");
          process.exit(0)
        } else {
          console.error('Unknown template ' + args[1].error);
          process.exit(0);
        }
      });
    } else {
      console.error('You need more arguments, man!'.error);
      //optimist.showHelp();
      process.exit(0);
    }
  }
docs: /*
  ===========================================================================
  N E W
  ===========================================================================