"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApiDocumenterCommandLine = void 0;
const ts_command_line_1 = require("@rushstack/ts-command-line");
const MarkdownAction_1 = require("./MarkdownAction");
const YamlAction_1 = require("./YamlAction");
const GenerateAction_1 = require("./GenerateAction");
class ApiDocumenterCommandLine extends ts_command_line_1.CommandLineParser {
    constructor() {
        super({
            toolFilename: 'api-documenter',
            toolDescription: 'Reads *.api.json files produced by api-extractor, ' +
                ' and generates API documentation in various output formats.'
        });
        this._populateActions();
    }
    _populateActions() {
        this.addAction(new MarkdownAction_1.MarkdownAction(this));
        this.addAction(new YamlAction_1.YamlAction(this));
        this.addAction(new GenerateAction_1.GenerateAction(this));
    }
}
exports.ApiDocumenterCommandLine = ApiDocumenterCommandLine;
//# sourceMappingURL=ApiDocumenterCommandLine.js.map