npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@phoenixsoftware/ejes-restapi-node-clis

v0.2.27

Published

Enables the EJES API, EJES BATCH, EJES Profile, EJES QUERY commands.

Downloads

12

Readme

(E)JES REST API Manager Sample CLIs

This repository contains CLI program that use the (E)JES V6R0 REST API written in node.js. Its components are sample programs provided to aid and enhance your experience using our (E)JES product. These CLIs compose the npm module that is installed by our Zowe Ejes plug-in. While you can install and/or examine the source code here, you will require a license from Phoenix Software International to use the underlying REST API and the (E)JES product.

Available CLIs

  • EJES API - A thin layer CLI demonstrating the full (E)JES REST API by mapping the (E)JES REST API directly to options. It returns JSON that can be used by Node.js or other scripting languages.
  • EJES Batch Shell - A full featured workstation implementation of (E)JES Batch on the host. Includes an enhanced meta command set to improve interactive use while still being suitable for workstation automation analogous to running EJES BATCH as a batch job on the host.
  • EJES Query - A conventional CLI to automate data gathering from the host for users who do not need nor want to learn host (E)JES commands.

(top)

Project Goals

This project accomplishes the following goals to benefit Phoenix Software International customers:

  • Provides scriptable functionality to access (E)JES on the host from the workstation.
  • Can access zowe profiles to provide secure access.
  • Demonstrates the use of REST API programmming.
  • Provides the greater (E)JES community an example using node.js to access the (E)JES REST API.

(top)

Documentation

Use of our CLIs is documented in chapter 11 of the (E)JES Reference. Installation without Zowe is covered in the section titled Using EJES Batch or EJES Query without Zowe.

(top)

There is help for that...

API, Batch, Issue, and Query provide detailed application specific help and usage information.

  • ejes batch status --help
  • ejes batch status --h meta       (For meta-command specific help)

You can also issue the help command in EJES Batch and use the argument help for any option in EJES Query. Additionally, you may use list for any argument in EJES Query to see the possible values for the argument.

(top)

Prerequisites

  • (E)JES V6R0 GA installed the host together with all current service.
  • Workstation OS is up to date
  • node
  • npm

Before you work with package, take a moment to ensure your operating system, node.js, and npm are up to date.

(top)

Installation and Usage

The EJES API, EJES Batch, and EJES Query command groups may be used whether or not Zowe support is installed. Enter the following command to install them:

npm install -g @phoenixsoftware/ejes-restapi-node-clis

The CLIs accept the same operands, options, and arguments (parameters) as for zowe, without the zowe command. The exceptions are that ‑‑help is the same as the option ‑‑helpApp and the group name query is not required for EJES Query.

ejes api [parameters]

ejes batch [parameters]

ejes query [parameters]    or    ejes [parameters]

You will be required to supply an EJES profile using the ejes profiles command with arguments on first use. When you issue an ejes profiles command to create or update a local profile, the command prompts for your input. You are given the option of using your default zowe profile, if you have one defined.

ejes profiles [create | delete | list | set-default | update] [profile-name | current-default] [-v | ‑‑verbose | -s | ‑‑secret | ‑‑sc]

For example:

ejes profiles create jes3

Issue the following command for help:

ejes profiles -h

An additional command is provided to assist you in creating user color scheme files. The file colorscheme.txt installed with the CLI gives further details on this optional topic.

ejes ansischeme [dark | light | powershell | mono | none | user-file]

(top)

Support

The programs stored in this repository are "distributed sample programs" as defined in chapter 18 of the (E)JES Reference. (E)JES customers may request support on a time-available basis by opening a new (E)JES Web case on the Phoenix Software International support portal. This is preferable to opening issues or making pull-requests on the GitHub repository.

(top)