"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const CommonCommand_1 = require("../../model/CommonCommand");
class ConfigCommonCommand extends CommonCommand_1.default {
    constructor(parser) {
        super(parser);
        this.menus = [];
    }
    addMenu(params) {
        this.menus.push({
            key: params.key,
            label: params.label,
            description: params.description,
        });
        this.registerCommand(params.key, params.callback);
    }
}
exports.default = ConfigCommonCommand;
//# sourceMappingURL=ConfigMenuCommand.js.map