{"size": 606, "ext": "js", "max_stars_repo_path": "packages/lore-generate-new/index.js", "max_stars_repo_name": "lore/lore", "max_stars_repo_stars_event_min_datetime": "2016-05-04T14:50:13.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-08T08:36:49.000Z", "max_issues_repo_path": "packages/lore-generate-new/index.js", "max_issues_repo_name": "lore/lore", "max_issues_repo_issues_event_min_datetime": "2016-05-04T18:28:59.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-27T21:25:34.000Z", "max_forks_repo_path": "packages/lore-generate-new/index.js", "max_forks_repo_name": "lore/lore", "max_forks_repo_forks_event_min_datetime": "2016-05-04T14:53:42.000Z", "max_forks_repo_forks_event_max_datetime": "2020-10-28T08:14:07.000Z"}
{"max_stars_count": 207, "max_issues_count": 63, "max_forks_count": 19, "avg_line_length": 17.8235294118, "max_line_length": 61, "alphanum_fraction": 0.5396039604}
var Generator = require('./generator');

module.exports = {

  command: "new",

  describe: "Create a new application",

  options: {
    params: '<appName>',

    options: {
      appName: {
        description: 'Name of the application',
        type: 'string'
      },
      esnext: {
        alias: 'n',
        describe: 'Generate an ESNext version of the project'
      },
      es6: {
        alias: '6',
        describe: 'Generate an ES6 version of the project'
      }
    },

    handler: function(argv) {
      var generator = new Generator(argv);
      generator.generate(argv);
    }
  }

};
