lib/init.js
function(projectName) {
    var self = this;
    this.projectName = projectName;
    this.projDir = './' + projectName + '/';
    this.packages = this.projDir + '.meteor/packages';

    this._runTerminalCommand('meteor create '+ projectName, function() {
      // after command is finished
      router.create(self.projDir);
      self._copyTemplate();
      self._removeOriginalMeteorFiles(projectName);
      self._removeUnwantedPackages();
      self._addPackagesToPackagesFile();

      puts('\n-------------------------------------------');
      puts('  type cd %s to navigate to project', projectName);
      puts('  then the meteor command to start a server');
      puts('-------------------------------------------\n');
    });
  }
function(projectName) {
    var self = this;
    this.projectName = projectName;
    this.projDir = './' + projectName + '/';
    this.packages = this.projDir + '.meteor/packages';

    this._runTerminalCommand('meteor create '+ projectName, function() {
      // after command is finished
      router.create(self.projDir);
      self._copyTemplate();
      self._removeOriginalMeteorFiles(projectName);
      self._removeUnwantedPackages();
      self._addPackagesToPackagesFile();

      puts('\n-------------------------------------------');
      puts('  type cd %s to navigate to project', projectName);
      puts('  then the meteor command to start a server');
      puts('-------------------------------------------\n');
    });
  }
function ( projectName ) { var self = this ; this . projectName = projectName ; this . projDir = './' + projectName + '/' ; this . packages = this . projDir + '.meteor/packages' ; this . _runTerminalCommand ( 'meteor create ' + projectName , function ( ) { // after command is finished router . create ( self . projDir ) ; self . _copyTemplate ( ) ; self . _removeOriginalMeteorFiles ( projectName ) ; self . _removeUnwantedPackages ( ) ; self . _addPackagesToPackagesFile ( ) ; puts ( '\n-------------------------------------------' ) ; puts ( '  type cd %s to navigate to project' , projectName ) ; puts ( '  then the meteor command to start a server' ) ; puts ( '-------------------------------------------\n' ) ; } ) ; }
Public: Copy the boilerplate in the templates init folder to the user's root project folder. Creates a router and client folder. The project name is used for removing original boilerplate.  Examples: require('./init').init('myProjectName');  projectName - the {String} name of the user's meteor project
Public : Copy the boilerplate in the templates init folder to the user s root project folder . Creates a router and client folder . The project name is used for removing original boilerplate . Examples : require ( . / init ) . init ( myProjectName ) ; projectName - the { String } name of the user s meteor project