"use strict";
/*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.USSFileDefinition = void 0;
const Edit_options_1 = require("../Edit.options");
// Does not use the import in anticipation of some internationalization work to be done later.
const strings = require("../../-strings-/en").default.EDIT;
/**
 * Edit USS file content command definition containing its description, examples and/or options
 * @type {ICommandDefinition}
 */
exports.USSFileDefinition = {
    name: "uss-file",
    aliases: ["uss", "uf"],
    summary: strings.ACTIONS.USS_FILE.SUMMARY,
    description: strings.ACTIONS.USS_FILE.DESCRIPTION,
    type: "command",
    handler: __dirname + "/../Edit.handler",
    profile: {
        optional: ["zosmf"],
    },
    positionals: [
        {
            name: "ussFilePath",
            description: strings.ACTIONS.USS_FILE.POSITIONALS.USSFILEPATH,
            type: "string",
            required: true
        },
    ],
    options: [
        Edit_options_1.EditOptions.editor,
        Edit_options_1.EditOptions.binary,
        Edit_options_1.EditOptions.encoding
    ],
    examples: [
        {
            description: strings.ACTIONS.USS_FILE.EXAMPLES.EX1,
            options: `/a/ibmuser/my_text.txt --editor notepad`
        },
        {
            description: strings.ACTIONS.USS_FILE.EXAMPLES.EX1,
            options: `/a/ibmuser/my_text.txt --editor C:\\Windows\\System32\\Notepad.exe`
        },
        {
            description: strings.ACTIONS.USS_FILE.EXAMPLES.EX2,
            options: `/a/ibmuser/my_text.txt --binary`
        },
    ]
};
//# sourceMappingURL=USSFile.definition.js.map