A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.npmjs.com/package/base-list below:

base-list - npm

base-list

base-runner plugin that prompts the user to choose from a list of registered applications and their available tasks.

Install

Install with npm:

$ npm i base-list --save

Usage

var list = require('base-list');

app.use(list());

API .baseListPlugin

Build grouped lists of tasks.

Params

displayTasks

Display the application hierarchy of apps and tasks in a formatted tree.

Example

chooseTasks

Present a multiple choice list of apps and tasks to run. Return results from a user making choices.

Params

Example

app.chooseTasks(function(err, results) {

  if (err) return console.error(err);

  console.log(results);

});

Related projects Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Brian Woodward

License

Copyright © 2016 Brian Woodward Released under the MIT license.

This file was generated by verb on January 14, 2016.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4