How to use @zowe/cli - 10 common examples

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"],
        description: ZosmfSession.ZOSMF_OPTION_USER.description,
        type: ZosmfSession.ZOSMF_OPTION_USER.type,
github IBM / zowe-cli-cics-deploy-plugin / src / cli / shared / ZosmfOptions.ts View on Github external
public static CICS_DEPLOY_ZOSMF_OPTION_REJECT_UNAUTHORIZED: ICommandOptionDefinition = {
        name: "zosmf-reject-unauthorized",
        aliases: ["zru"],
        description: ZosmfSession.ZOSMF_OPTION_REJECT_UNAUTHORIZED.description,
        type: ZosmfSession.ZOSMF_OPTION_REJECT_UNAUTHORIZED.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_BASE_PATH: ICommandOptionDefinition = {
        name: "zosmf-base-path",
        aliases: ["zbp"],
        description: ZosmfSession.ZOSMF_OPTION_BASE_PATH.description,
        type: ZosmfSession.ZOSMF_OPTION_BASE_PATH.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  /**
   * Options related to connecting to z/OSMF
   */
  public static CICS_DEPLOY_ZOSMF_CONNECTION_OPTIONS: ICommandOptionDefinition[] = [
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_HOST,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_PORT,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_USER,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_PASSWORD,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_REJECT_UNAUTHORIZED,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_BASE_PATH
  ];
}
github IBM / zowe-cli-cics-deploy-plugin / src / cli / shared / ZosmfOptions.ts View on Github external
};

  public static CICS_DEPLOY_ZOSMF_OPTION_REJECT_UNAUTHORIZED: ICommandOptionDefinition = {
        name: "zosmf-reject-unauthorized",
        aliases: ["zru"],
        description: ZosmfSession.ZOSMF_OPTION_REJECT_UNAUTHORIZED.description,
        type: ZosmfSession.ZOSMF_OPTION_REJECT_UNAUTHORIZED.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_BASE_PATH: ICommandOptionDefinition = {
        name: "zosmf-base-path",
        aliases: ["zbp"],
        description: ZosmfSession.ZOSMF_OPTION_BASE_PATH.description,
        type: ZosmfSession.ZOSMF_OPTION_BASE_PATH.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  /**
   * Options related to connecting to z/OSMF
   */
  public static CICS_DEPLOY_ZOSMF_CONNECTION_OPTIONS: ICommandOptionDefinition[] = [
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_HOST,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_PORT,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_USER,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_PASSWORD,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_REJECT_UNAUTHORIZED,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_BASE_PATH
  ];
}
github IBM / zowe-cli-cics-deploy-plugin / src / cli / shared / ZosmfOptions.ts View on Github external
group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_REJECT_UNAUTHORIZED: ICommandOptionDefinition = {
        name: "zosmf-reject-unauthorized",
        aliases: ["zru"],
        description: ZosmfSession.ZOSMF_OPTION_REJECT_UNAUTHORIZED.description,
        type: ZosmfSession.ZOSMF_OPTION_REJECT_UNAUTHORIZED.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_BASE_PATH: ICommandOptionDefinition = {
        name: "zosmf-base-path",
        aliases: ["zbp"],
        description: ZosmfSession.ZOSMF_OPTION_BASE_PATH.description,
        type: ZosmfSession.ZOSMF_OPTION_BASE_PATH.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  /**
   * Options related to connecting to z/OSMF
   */
  public static CICS_DEPLOY_ZOSMF_CONNECTION_OPTIONS: ICommandOptionDefinition[] = [
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_HOST,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_PORT,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_USER,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_PASSWORD,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_REJECT_UNAUTHORIZED,
      ZosmfOptions.CICS_DEPLOY_ZOSMF_OPTION_BASE_PATH
  ];
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",
github IBM / zowe-cli-cics-deploy-plugin / src / cli / shared / ZosmfOptions.ts View on Github external
group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_USER: ICommandOptionDefinition = {
        name: "zosmf-user",
        aliases: ["zu"],
        description: ZosmfSession.ZOSMF_OPTION_USER.description,
        type: ZosmfSession.ZOSMF_OPTION_USER.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_PASSWORD: ICommandOptionDefinition = {
        name: "zosmf-password",
        aliases: ["zpw"],
        description: ZosmfSession.ZOSMF_OPTION_PASSWORD.description,
        type: ZosmfSession.ZOSMF_OPTION_PASSWORD.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_REJECT_UNAUTHORIZED: ICommandOptionDefinition = {
        name: "zosmf-reject-unauthorized",
        aliases: ["zru"],
        description: ZosmfSession.ZOSMF_OPTION_REJECT_UNAUTHORIZED.description,
        type: ZosmfSession.ZOSMF_OPTION_REJECT_UNAUTHORIZED.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_BASE_PATH: ICommandOptionDefinition = {
        name: "zosmf-base-path",
github IBM / zowe-cli-cics-deploy-plugin / src / cli / shared / ZosmfOptions.ts View on Github external
};

  public static CICS_DEPLOY_ZOSMF_OPTION_USER: ICommandOptionDefinition = {
        name: "zosmf-user",
        aliases: ["zu"],
        description: ZosmfSession.ZOSMF_OPTION_USER.description,
        type: ZosmfSession.ZOSMF_OPTION_USER.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_PASSWORD: ICommandOptionDefinition = {
        name: "zosmf-password",
        aliases: ["zpw"],
        description: ZosmfSession.ZOSMF_OPTION_PASSWORD.description,
        type: ZosmfSession.ZOSMF_OPTION_PASSWORD.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_REJECT_UNAUTHORIZED: ICommandOptionDefinition = {
        name: "zosmf-reject-unauthorized",
        aliases: ["zru"],
        description: ZosmfSession.ZOSMF_OPTION_REJECT_UNAUTHORIZED.description,
        type: ZosmfSession.ZOSMF_OPTION_REJECT_UNAUTHORIZED.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_BASE_PATH: ICommandOptionDefinition = {
        name: "zosmf-base-path",
        aliases: ["zbp"],
github IBM / zowe-cli-cics-deploy-plugin / src / cli / shared / ZosmfOptions.ts View on Github external
*/
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"],
        description: ZosmfSession.ZOSMF_OPTION_USER.description,
        type: ZosmfSession.ZOSMF_OPTION_USER.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_PASSWORD: ICommandOptionDefinition = {
        name: "zosmf-password",
github IBM / zowe-cli-cics-deploy-plugin / src / cli / shared / ZosmfOptions.ts View on Github external
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"],
        description: ZosmfSession.ZOSMF_OPTION_USER.description,
        type: ZosmfSession.ZOSMF_OPTION_USER.type,
        required: false,
        group: ZosmfSession.ZOSMF_CONNECTION_OPTION_GROUP
  };

  public static CICS_DEPLOY_ZOSMF_OPTION_PASSWORD: ICommandOptionDefinition = {
        name: "zosmf-password",
        aliases: ["zpw"],