"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/**
 * Copyright 2017-2020 Plexus Interop Deutsche Bank AG
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
var BaseJavaGenCommand_1 = require("./BaseJavaGenCommand");
var DefaultOptions_1 = require("./DefaultOptions");
var GenProtoCommand = /** @class */ (function (_super) {
    tslib_1.__extends(GenProtoCommand, _super);
    function GenProtoCommand() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.plexusGenArgs = function (opts) {
            return tslib_1.__spreadArrays(['--type=proto', '--descriptors'], _this.optionArgs(opts));
        };
        _this.generalDescription = function () { return 'generate proto definitions for specified entry point'; };
        _this.name = function () { return 'gen-proto'; };
        _this.options = function () { return [DefaultOptions_1.baseDir(), DefaultOptions_1.out(), DefaultOptions_1.plexusEntryPoint(), DefaultOptions_1.verbose()]; };
        return _this;
    }
    return GenProtoCommand;
}(BaseJavaGenCommand_1.BaseJavaGenCommand));
exports.GenProtoCommand = GenProtoCommand;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR2VuUHJvdG9Db21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbW1hbmRzL0dlblByb3RvQ29tbWFuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7Ozs7Ozs7Ozs7Ozs7O0dBZUc7QUFDSCwyREFBMEQ7QUFDMUQsbURBQTJFO0FBRzNFO0lBQXFDLDJDQUFrQjtJQUF2RDtRQUFBLHFFQVlDO1FBVlUsbUJBQWEsR0FBNEIsVUFBQSxJQUFJO1lBQ2hELCtCQUFRLGNBQWMsRUFBRSxlQUFlLEdBQUssS0FBSSxDQUFDLFVBQVUsQ0FBQyxJQUFJLENBQUMsRUFBRTtRQUN2RSxDQUFDLENBQUE7UUFFTSx3QkFBa0IsR0FBRyxjQUFNLE9BQUEsc0RBQXNELEVBQXRELENBQXNELENBQUM7UUFFbEYsVUFBSSxHQUFHLGNBQU0sT0FBQSxXQUFXLEVBQVgsQ0FBVyxDQUFDO1FBRXpCLGFBQU8sR0FBbUIsY0FBTSxPQUFBLENBQUMsd0JBQU8sRUFBRSxFQUFFLG9CQUFHLEVBQUUsRUFBRSxpQ0FBZ0IsRUFBRSxFQUFFLHdCQUFPLEVBQUUsQ0FBQyxFQUFqRCxDQUFpRCxDQUFDOztJQUU3RixDQUFDO0lBQUQsc0JBQUM7QUFBRCxDQUFDLEFBWkQsQ0FBcUMsdUNBQWtCLEdBWXREO0FBWlksMENBQWUifQ==