'use strict';

var help = require('../help');
var logger = require('../logger')('install');
var chalk = require('chalk');

module.exports = function(api, args, out) {
  if (args.help) {
    help(out, 'install');
  } else {
    var repoUri = 'https://github.com/'.concat(args._[0]).concat('.git');
    var to = args._[1];
    api.clone(repoUri, to, function(err) {
      if (err) {
        logger.error(err);
        out(chalk.red('Unable to clone repo ' + args._[0]));
      } else {
        out(chalk.green(args._[0] + ' successfully cloned.'));
      }
    });
  }
};

@@ -116,16 +116,113 @@
 alk');%0A%0A
+function getPrefix(args) %7B%0A  return args.ssh ? 'git@github.com:' :%0A    'https://github.com/';%0A%7D%0A%0A
 module.e
@@ -331,37 +331,31 @@
 poUri = 
-'https://github.com/'
+getPrefix(args)
 .concat(

Fix failing install tc