0.0.1 • Published 5 years ago

@jib/listr v0.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

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([
      //...
    ]);
  }
}