@broadcom/endevor-for-zowe-cli

中文文档
8.4.0发布于 2026/09/24SEE LICENSE IN LICENSETypeScriptCommonJS近 30 天下载 2273

Endevor Plug-in for Zowe CLI

原始使用文档

Endevor Plug-in for Zowe CLI

Zowe Conformance Badge

This repository contains a command line interface (CLI) that interacts with Endevor. You can build it as either an independent CLI application or as a plug-in that can be installed into an existing application, such as Brightside.

The Endevor application is built on the Imperative Framework.

Use Cases

You can use the Endevor Plug-in for Zowe CLI to perform the following tasks without having to leave the ZOWE CLI interface: Check out source code that resides in Endevor, and work with the code in a non-mainframe IDE or editor such as Sublime, Visual Studio Code, or IntelliJ IDEA

Interact with Endevor application lifecycle actions, allowing easy scripting from CI/CD pipelines. Build code and integrate Endevor element code into wider packages. Access multiple data sources within a single CLI, enabling quick comparison and inclusion of data. Interact with Endevor for basic SCM inventory, which provides an alternative experience for end users, which enables easier learning and adoption. Build checked-in source for use in unit and functional test environments. Approve workflows in response to events in other DevOps tools.

Prerequisites

Before you install the plug-in, it is important to ensure that you meet the following prerequisites: Zowe CLI installed and configured. Endevor instance with the Endevor Web Services component installed

Build the Plug-in from Source and Link Endevor Application

Build plug-in from source and then link it to your Endevor application.

Follow these steps:

  1. Clone this repository to your PC as follws: Issue git clone https://github.com/your-username/your-repository Press Enter. The local clone is created.
  2. In a command line, issue cd [relative path]/endevor
  3. Issue npm install
  4. Issue npm run build
  5. Issue npm link

Install the Endevor SCM Plug-in for Zowe CLI

The Endevor Plug-in for Zowe CLI is associated with the following tags:

  • @latest
  • @next
  • @zowe-v1-lts
  • @zowe-v2-lts
  • @zowe-v3-lts

The @zowe-v2-lts and @zowe-v3-lts tags denote stable plugin versions compatible with the Zowe V2 LTS and Zowe V3 LTS respectively.

The @zowe-v1-lts version is now deprecated and should be upgraded to the V2 or V3 LTS.

The @latest tag refers to the highest supported version of the plugin - currently identical to @zowe-v3-lts

The @next tag is reserved for pre-release and early versions of the plugin.

To install the active version of the plug-in, issue the following command based on the preferred version:

zowe plugins install @broadcom/endevor-for-zowe-cli@zowe-v2-lts

zowe plugins install @broadcom/endevor-for-zowe-cli@zowe-v3-lts

Examples

The following examples show how Imperative CLI Framework features are implemented in the Endevor CLI.

Default Help

zowe endevor --help

 DESCRIPTION
 -----------

   Endevor plug-in for listing Endevor environment information, working
   with elements and packages located in specified Endevor instance.

 USAGE
 -----

   zowe endevor [group]

 COMMANDS
 --------

   add            Add an Element into Endevor.
   approve | aprv Approve a Package in Endevor.
   backin         Backin a Package in Endevor.
   backout        Backout a Package in Endevor.
   cast           Cast a Package in Endevor.
   create         Create a Package in Endevor.
   delete | del   Delete an Element or a Package in Endevor.
   deny           Deny a Package in Endevor.
   execute        Execute a Package in Endevor.
   generate | gen Generate an Element in Endevor.
   list           List instances, elements, types, packages and inventory
                  locations in Endevor.
   move | mv      Move an Element in Endevor.
   print | p      Print an Element or a Component in Endevor.
   reset          Reset a Package in Endevor.
   retrieve | ret Retrieve an Element in Endevor.
   signin | si    Signin an Element in Endevor.
   submit         Submit a Package or a SCL file in Endevor.
   transfer | tr  Transfer an Element in Endevor.
   update         Update an Element or a Package in Endevor.

 GLOBAL OPTIONS
 --------------

 --response-format-json  | --rfj (flag) (optional)

    Produce the command response as a JSON document

 --help  | -h (flag) (optional)

    Display help text

Uninstall the Plug-in

Issue the following command:

zowe plugins uninstall @broadcom/endevor-for-zowe-cli

版本与发布记录

@broadcom/endevor-for-zowe-cli 共发布 96 个版本,首次发布于 2019/08/22;过去 12 个月发布了 9 个版本。

版本发布日期距今
8.4.0latest2026/09/241 个月前
7.11.0zowe-v2-lts2026/09/241 个月前
7.10.32026/07/173 个月前
8.3.22026/07/173 个月前
7.10.22026/06/114 个月前
7.10.12026/05/046 个月前

其他发布通道:lts-incremental → 2.8.3,zowe-v1-lts → 5.7.6,zowe-v2-lts → 7.11.0。

关于 @broadcom/endevor-for-zowe-cli 的常见问题

@broadcom/endevor-for-zowe-cli 是什么?

Endevor Plug-in for Zowe CLI

如何安装 @broadcom/endevor-for-zowe-cli?

在项目目录运行 npm install @broadcom/endevor-for-zowe-cli,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@zowe/imperative(^8.0.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@broadcom/endevor-for-zowe-cli 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@broadcom/endevor-for-zowe-cli 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@broadcom/endevor-for-zowe-cli 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=8.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@broadcom/endevor-for-zowe-cli 可以商用吗?

@broadcom/endevor-for-zowe-cli 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@broadcom/endevor-for-zowe-cli 的下载量有多少?

根据 npm 官方下载统计,@broadcom/endevor-for-zowe-cli 在 2026/10/09 – 2026/11/07 这 30 天内被下载 2,273 次,日均约 76 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@broadcom/endevor-for-zowe-cli 还在维护吗?

最新版本 8.4.0 发布于 2026/09/24(1 个月前);至今共发布 96 个版本,其中过去 12 个月发布了 9 个;首次发布于 2019/08/22。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。