Back to Top

@zowe/cli master

Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.

developmentTasks()

Development related tasks

Returns

Void

cleanupTasks()

Cleanup related tasks

Returns

Void

fs()

Read in a directory containing json files of runs of scripts/performanceTest.js from different systems, and analyze the results, providing a summary

Returns

Void

stringifiedResults()

Get a report of the results

First, add human-readable keys to the result object

Returns

Void

env()

Set the current home directory

Returns

Void

stringifiedResults()

Get a report of the results

First, add human-readable keys to the result object

Returns

Void

execTimed(command, label, expectedTime)

Execute a command synchronously and time how long it takes to execute

Parameters

Name Type Description
command
  • the command to execute
label
  • label for the action you are performing with this command
expectedTime
  • the amount of time in milliseconds you expect this command to take

Returns

Void

deleteHomeDirectory()

Delete the temporary brightside home directory

Returns

Void

fs()

Prepares licenses in every package under the packages/ directory.

This ensures that a LICENSE file will be in every package when they are published to npm.

Returns

Void

cp()

Run Github workflows locally

Steps:

  1. Verifies that act is installed
  2. Reads given workflow (e.g. zowe-cli.yml)
  3. Replaces all known steps that could fail
  4. Generates a .github/act.yml
  5. Executes `act -rW .github/act.yml -e .github/_act_event.json Creates a custom yaml file for running locally with act

Returns

Void