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

@broadcom/om-view-for-zowe-cli

v3.0.0

Published

OM View™ Plug-in for Zowe™ CLI.

Downloads

70

Readme

OM View™ Plug-in for Zowe™ CLI

The OM View™ Plug-in for Zowe™ CLI lets you interact with OM View for z through a Zowe™ CLI plug-in.

Use cases

The plug-in lets you perform the following operations on OM View data:

  • Query repositories (OM View databases), reports, and export rules.
  • Query report logical views and index values.
  • Search for report data using cross-report indexes.
  • Download report data and convert text reports to PDF.
  • Use predefined export rules to export text reports to spreadsheets.
  • Query and change user settings.

Software requirements

Before you install and use the plug-in:

  • Install Zowe™ CLI.
  • Ensure that an OM Web Viewer for z instance is installed and running in your mainframe environment.
  • The OM Web Viewer instance must have PTF LU12658 applied.

Install the Plug-in

To install the @latest version of the plug-in, issue the following command:

$ zowe plugins install @broadcom/om-view-for-zowe-cli

Note: The @latest npm tag installs an active development version of the plug-in, which accepts breaking changes. You can use different npm tags to install other versions of the product. For more information about tag usage, see NPM Tag Names.

Configure the Plugin

You can set omview profile options in your configuration, so you do not have to type your connection details for every command. The profile options include connection and authentication information for the OM Web Viewer REST API instance of your choice.

Example

Use the following command to initialize your global Zowe™ CLI configuration: zowe config init --global-config

This command results in a prompt for basic information that is shared between multiple Zowe™ CLI plugins and populates your global configuration.

You can subsequently use one of the following methods to customize the values in the global configuration:

  • Use the zowe config edit --global-config command to open the whole configuration file in your default text editor.
  • Use the zowe config set --global-config profiles.omview.properties.<property> <value> command to set individual properties. The omview profile type uses the following properties:
    • protocol
    • host
    • port
    • base-path
    • user
    • password

Example

Use the following command to update the port value in your omview global configuration profile to 8080:

zowe config set --global-config profiles.omview.properties.port 8080

You can create multiple profiles and switch between them as necessary. You can also have global, user, and shared configurations. For full details on all of these options refer to the general Zowe™ CLI documentation.

Migrate from Zowe™ v2 LTS

The plug-in package name has changed starting with the Zowe™ CLI v3 LTS version. Specifically, the name has changed from @broadcom/caview-for-zowe-cli to @broadcom/om-view-for-zowe-cli.

In order to migrate, you must first uninstall the old package using the following command:

$ zowe plugins uninstall @broadcom/caview-for-zowe-cli

After you uninstall the old package, you can install the new package using the following command:

$ zowe plugins install @broadcom/om-view-for-zowe-cli

Note that the plug-in command group and profile names have also changed from caview to omview. While the old caview variants are still supported, we encourage you to update your configuration files and scripts, replacing caview with omview in all cases.

If you are relying on any CAVIEW_PLUGIN prefixed environment variable you will need to rename them to use the new OMVIEW_PLUGIN prefix.

Getting Started

To get help for the available command groups, issue the following command:

$ zowe omview --help

For example, you might start by listing the available repositories:

$ zowe omview list repositories

To obtain context-sensitive help, append the --help argument to your command. For example, to get help with the list reports command, issue the following command:

$ zowe omview list reports --help

On success commands return a zero process exit code. On error commands return a non-zero process exit code.

Update the Plug-in

To update the plug-in, issue the following command:

$ zowe plugins update @broadcom/om-view-for-zowe-cli

Uninstall the Plug-in

To uninstall the plug-in, issue the following command:

$ zowe plugins uninstall @broadcom/om-view-for-zowe-cli