@broadcom/endevor-bridge-for-git-for-zowe-cli
Version:
Endevor Bridge for Git plug-in for Zowe CLI
91 lines • 3.87 kB
JavaScript
;
/*
* Copyright (c) 2019 Broadcom. All Rights Reserved. The term
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This software and all information contained therein is
* confidential and proprietary and shall not be duplicated,
* used, disclosed, or disseminated in any way except as
* authorized by the applicable license agreement, without the
* express written permission of Broadcom. All authorized
* reproductions must be marked with this language.
*
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO
* THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS
* SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT
* LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM
* BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR
* DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE,
* INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS
* INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
* EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.AddElementOptions = void 0;
const BuildOptions_1 = require("../../options/BuildOptions");
const EBGOptions_1 = require("../../options/EBGOptions");
class AddElementOptions extends EBGOptions_1.EBGOptions {
}
exports.AddElementOptions = AddElementOptions;
AddElementOptions.ALL_BRANCHES = {
name: "all-branches",
description: "If specified, the requested elements will be added to all synchronized branches in your repository.",
type: "boolean",
defaultValue: false
};
AddElementOptions.ENDEVOR_VALIDATE = {
name: "validate",
description: "If specified, the requested elements will be validated against Endevor.",
type: "boolean",
defaultValue: false
};
AddElementOptions.WITH_DEPENDENCIES = {
name: "withDependencies",
description: "If specified, the requested element will be added with dependencies (eg. COBOL copybooks).",
type: "boolean",
defaultValue: false
};
AddElementOptions.FORCE_GET_DEPENDENCIES = {
name: "force-get-dependencies", aliases: ["force"],
description: "If specified, the maximum number of dependencies will be bypassed. This only applies to the repository administrator.",
type: "boolean",
defaultValue: false
};
AddElementOptions.FILE_NAME = {
name: "file", aliases: ["fn"],
description: "If specified, the elements to add will be read from file. " +
"Make sure that the file is in the correct format as specified in the documentation.",
type: "existingLocalFile"
};
AddElementOptions.ENDEVOR_SYSTEM = {
name: "endevor-system", aliases: ["endevorsys", "system"],
description: "The Endevor system where your element resides.",
type: "string",
stringLengthRange: [1, BuildOptions_1.BuildOptions.INVENTORY_MAX_LEN]
};
AddElementOptions.ENDEVOR_SUBSYSTEM = {
name: "endevor-subsystem", aliases: ["endevorsub", "sub", "subsystem"],
description: "The Endevor subsystem where your element resides.",
type: "string",
stringLengthRange: [1, BuildOptions_1.BuildOptions.INVENTORY_MAX_LEN]
};
AddElementOptions.ELEMENT_NAME = {
name: "element-name", aliases: ["name"],
description: "The name of the Endevor element you want to add.",
type: "string",
required: false
};
AddElementOptions.ELEMENT_TYPE = {
name: "element-type", aliases: ["type"],
description: "The type of the Endevor element you want to add",
type: "string",
stringLengthRange: [1, BuildOptions_1.BuildOptions.INVENTORY_MAX_LEN],
required: false
};
AddElementOptions.BRANCH_ID = {
name: "branchId",
description: "If specified, the requested elements will be added to the selected branch.",
type: "string"
};
//# sourceMappingURL=AddElementOptions.js.map