How to use the @zowe/cli.ZosmfSession.ZOSMF_OPTION_HOST function in @zowe/cli

To help you get started, we’ve selected a few @zowe/cli examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github IBM / zowe-cli-cics-deploy-plugin / src / cli / shared / ZosmfOptions.ts View on Github external
*
*/

import { ICommandOptionDefinition } from "@zowe/imperative";
import { ZosmfSession } from "@zowe/cli";

/**
 * zosMF command line options, derived from zowe-cli equivalents
 */
export class ZosmfOptions {

  public static CICS_DEPLOY_ZOSMF_OPTION_HOST: ICommandOptionDefinition = {
        name: "zosmf-host",
        aliases: ["zh"],
        description: ZosmfSession.ZOSMF_OPTION_HOST.description,
        type: ZosmfSession.ZOSMF_OPTION_HOST.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_PORT: ICommandOptionDefinition = {
        name: "zosmf-port",
        aliases: ["zp"],
        description: ZosmfSession.ZOSMF_OPTION_PORT.description,
        type: ZosmfSession.ZOSMF_OPTION_PORT.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_USER: ICommandOptionDefinition = {
        name: "zosmf-user",
        aliases: ["zu"],
github IBM / zowe-cli-cics-deploy-plugin / src / cli / shared / ZosmfOptions.ts View on Github external
* Copyright IBM Corp, 2019
*
*/

import { ICommandOptionDefinition } from "@zowe/imperative";
import { ZosmfSession } from "@zowe/cli";

/**
 * zosMF command line options, derived from zowe-cli equivalents
 */
export class ZosmfOptions {

  public static CICS_DEPLOY_ZOSMF_OPTION_HOST: ICommandOptionDefinition = {
        name: "zosmf-host",
        aliases: ["zh"],
        description: ZosmfSession.ZOSMF_OPTION_HOST.description,
        type: ZosmfSession.ZOSMF_OPTION_HOST.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_PORT: ICommandOptionDefinition = {
        name: "zosmf-port",
        aliases: ["zp"],
        description: ZosmfSession.ZOSMF_OPTION_PORT.description,
        type: ZosmfSession.ZOSMF_OPTION_PORT.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_USER: ICommandOptionDefinition = {
        name: "zosmf-user",