{"size": 342, "ext": "js", "max_stars_repo_path": "generators/app/index.js", "max_stars_repo_name": "basp/generator-tmg", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "generators/app/index.js", "max_issues_repo_name": "basp/generator-tmg", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "generators/app/index.js", "max_forks_repo_name": "basp/generator-tmg", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.4285714286, "max_line_length": 76, "alphanum_fraction": 0.5643274854}
var Generator = require('yeoman-generator');

module.exports = class extends Generator {
    constructor(args, opts) {
        super(args, opts);
        
        this.argument('appname', {
            type: String,
            required: false
        });

        this.appname = this.options.appname || path.basename(process.cwd());
    }
};