@jib/listr
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Jib Listr Plugin

Add listr to @jib/cli projects.

wercker status

listr

About

This project was generated using the jib command line generator.

Usage

npm install --save @jib/listr

Using within @jib/cli commands:

import { Command, Plugin } from '@jib/cli';
import { JibListr } from '@jib/listr';

@Command({/* */})
class MyCustomCommand {
  // inject plugin
  @Plugin(JibListr)
  public helper: JibListr;

  public async run(options: any, ...args: string[]) {
    return this.helper.list([
      //...
    ]);
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @jib/listr

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

4.17 kB

Total Files

7

Last publish

Collaborators

  • mvandervliet