"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GenerateCommand = void 0;
const yok_1 = require("../common/yok");
class GenerateCommand {
    constructor($logger, $errors) {
        this.$logger = $logger;
        this.$errors = $errors;
        this.allowedParameters = [];
    }
    async execute(_rawArgs) {
        try {
            this.$logger.info("If you have ideas for this command, please discuss at https://nativescript.org/discord");
        }
        catch (error) {
            this.$errors.fail(error.message);
        }
    }
    async canExecute(rawArgs) {
        this.setExecutionOptions(rawArgs);
        this.validateExecutionOptions();
        return true;
    }
    validateExecutionOptions() {
    }
    setExecutionOptions(rawArgs) {
    }
}
exports.GenerateCommand = GenerateCommand;
yok_1.injector.registerCommand("generate", GenerateCommand);
