open-index/open-npm huggingface dataset:
npm package: @lesterthomas/cv
Description: ODA Component Viewer Javascript client.
Author: Lester Thomas
Latest version: 1.0.6

# Component Viewer utility

This is a simple command-line utility to view the ODA Component deployment and lifecycle.

# Installation

```
npm install @lesterthomas/cv -g
```


Then, to run utility:

```
cv
```


The utility will use the current kubeconfig to connect to the Kubernetes cluster. It will show 'No ODA Components to view' if there are no components being deployed. If there are components, you will get a screen like the one below:

![Screenshot](Screenshot.jpg)

To exit the utility, type `CTRL-C`
npm package: @lesterthomas/kubectl-canvas_logs
Description: ODA Canvas log viewer.
Author: Lester Thomas
Latest version: 1.1.4

# Canvas Log Viewer utility

This is a simple kubectl utility to display log information on the ODA Canvas for a Component.

# Installation

```
npm install @lesterthomas/kubectl-canvas_logs -g
```


Then, to run plugin within kubectl:

```
kubectl canvas-logs [component name] [component operator pod name]
```
(in a future release, it should automatically find the component operator pod name, but for now, you can find it using `kubectl get pods --selector app=oda-controller -n canvas`)

The utility will use the current kubeconfig to connect to the Kubernetes cluster. You should get a screen like the one below:

![canvas-log-viewer](canvas-log-viewer.png)

To exit the utility, type `CTRL-C`



## Publishing

To publish a new version, update the version number in the package.json file and use the command

```
npm publish --access public
```
npm package: @lesterthomas/kubectl-component_info
Description: ODA Component Viewer Javascript client.
Author: Lester Thomas
Latest version: 1.2.2

# Component Viewer utility

This is a simple kubectl utility to display information on the ODA Component deployment and lifecycle.

# Installation

```
npm install @lesterthomas/kubectl-component_info -g
```


Then, to run plugin within kubectl:

```
kubectl component-info
```


The utility will use the current kubeconfig to connect to the Kubernetes cluster. It will show 'No ODA Components to view' if there are no components being deployed. If there are components, you will get a screen like the one below:

![Screenshot](Screenshot.png)

To exit the utility, type `CTRL-C`


## Testing locally

During development, you can test the utility locally by installing the dependencies with

```
npm install
```

and running the command

```
npm test
```

## Publishing

To publish a new version, update the version number in the package.json file and use the command

```
npm publish --access public
```