{"_id":"base-list","_rev":"226829","name":"base-list","description":"base-runner plugin that prompts the user to choose from a list of registered applications and their available tasks.","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"time":{"modified":"2021-06-03T15:43:17.000Z","created":"2015-12-08T21:33:17.459Z","0.2.1":"2016-01-14T23:55:59.473Z","0.2.0":"2016-01-14T21:54:52.166Z","0.1.4":"2015-12-10T00:16:29.144Z","0.1.3":"2015-12-09T23:45:20.036Z","0.1.2":"2015-12-09T22:44:12.631Z","0.1.1":"2015-12-08T21:47:51.539Z","0.1.0":"2015-12-08T21:33:17.459Z"},"users":{},"author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/base-list.git"},"versions":{"0.2.1":{"name":"base-list","description":"base-runner plugin that prompts the user to choose from a list of registered applications and their available tasks.","version":"0.2.1","homepage":"https://github.com/doowb/base-list","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/base-list.git"},"bugs":{"url":"https://github.com/doowb/base-list/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ansi-colors":"^0.1.0","archy":"^1.0.0","base-tree":"^0.2.0","lazy-cache":"^1.0.3","question-cache":"^0.3.5","union-value":"^0.2.1"},"devDependencies":{"assemble-core":"^0.5.0","async":"^1.5.0","base-methods":"^0.6.1","get-value":"^2.0.0","mocha":"*","should":"^7.1.1"},"verb":{"related":{"list":["base-methods","base-runner","base-tree","use"]}},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"gitHead":"e5a4fd45bf60a67f1abbe9d5470a95c7cc0123b5","_id":"base-list@0.2.1","_shasum":"d69627f6ee4b1e4e9b54f7e2a3354d3ad6f3cfc9","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"d69627f6ee4b1e4e9b54f7e2a3354d3ad6f3cfc9","size":4158,"noattachment":false,"key":"/base-list/-/base-list-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-list/download/base-list-0.2.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"directories":{},"publish_time":1452815759473,"_cnpm_publish_time":1452815759473,"_hasShrinkwrap":false},"0.2.0":{"name":"base-list","description":"base-runner plugin that prompts the user to choose from a list of registered applications and their available tasks.","version":"0.2.0","homepage":"https://github.com/doowb/base-list","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/base-list.git"},"bugs":{"url":"https://github.com/doowb/base-list/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ansi-colors":"^0.1.0","archy":"^1.0.0","base-tree":"^0.2.0","lazy-cache":"^1.0.3","question-cache":"^0.3.5","union-value":"^0.2.1"},"devDependencies":{"assemble-core":"^0.5.0","async":"^1.5.0","base-methods":"^0.6.1","get-value":"^2.0.0","mocha":"*","should":"^7.1.1"},"verb":{"related":{"list":["base-methods","base-runner","base-tree","use"]}},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"gitHead":"84e604128da02233bcb3a3969f85ca3c0792d8b5","_id":"base-list@0.2.0","_shasum":"b7c5f1d8147fae053185e454b35cacdac9717725","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"b7c5f1d8147fae053185e454b35cacdac9717725","size":3727,"noattachment":false,"key":"/base-list/-/base-list-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-list/download/base-list-0.2.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"directories":{},"publish_time":1452808492166,"_cnpm_publish_time":1452808492166,"_hasShrinkwrap":false},"0.1.4":{"name":"base-list","description":"base-runner plugin that prompts the user to choose from a list of registered applications and their available tasks.","version":"0.1.4","homepage":"https://github.com/doowb/base-list","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/base-list.git"},"bugs":{"url":"https://github.com/doowb/base-list/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ansi-colors":"^0.1.0","arr-union":"^3.0.0","base-tree":"^0.1.0","extend-shallow":"^2.0.1","lazy-cache":"^0.2.4","question-cache":"^0.3.3","union-value":"^0.2.1"},"devDependencies":{"assemble-core":"^0.5.0","async":"^1.5.0","base-methods":"^0.6.1","get-value":"^2.0.0","mocha":"*","should":"^7.1.1"},"verb":{"related":{"list":["base-methods","base-runner","base-tree","use"]}},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"gitHead":"d3712e906acf59b3f2e6a1ba4e5cc1647f2d37d2","_id":"base-list@0.1.4","_shasum":"9be820fe473a5db17c81151308890fabbe5fc16e","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"9be820fe473a5db17c81151308890fabbe5fc16e","size":4992,"noattachment":false,"key":"/base-list/-/base-list-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-list/download/base-list-0.1.4.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"directories":{},"publish_time":1449706589144,"_cnpm_publish_time":1449706589144,"_hasShrinkwrap":false},"0.1.3":{"name":"base-list","description":"base-runner plugin that prompts the user to choose from a list of registered applications and their available tasks.","version":"0.1.3","homepage":"https://github.com/doowb/base-list","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/base-list.git"},"bugs":{"url":"https://github.com/doowb/base-list/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ansi-colors":"^0.1.0","arr-union":"^3.0.0","base-tree":"^0.1.0","extend-shallow":"^2.0.1","lazy-cache":"^0.2.4","question-cache":"^0.3.3","union-value":"^0.2.1"},"devDependencies":{"assemble-core":"^0.5.0","async":"^1.5.0","base-methods":"^0.6.1","get-value":"^2.0.0","mocha":"*","should":"^7.1.1"},"verb":{"related":{"list":["base-methods","base-runner","base-tree","use"]}},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"gitHead":"59450c9b022b7c01832fa0965f7e3b1a335ad1f6","_id":"base-list@0.1.3","_shasum":"6e0a1aa9cad27c001140eb806baeb92127594a99","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"6e0a1aa9cad27c001140eb806baeb92127594a99","size":4822,"noattachment":false,"key":"/base-list/-/base-list-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-list/download/base-list-0.1.3.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"directories":{},"publish_time":1449704720036,"_cnpm_publish_time":1449704720036,"_hasShrinkwrap":false},"0.1.2":{"name":"base-list","description":"base-runner plugin that prompts the user to choose from a list of registered applications and their available tasks.","version":"0.1.2","homepage":"https://github.com/doowb/base-list","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/base-list.git"},"bugs":{"url":"https://github.com/doowb/base-list/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ansi-colors":"^0.1.0","arr-union":"^3.0.0","base-tree":"^0.1.0","extend-shallow":"^2.0.1","lazy-cache":"^0.2.4","question-cache":"^0.3.3","union-value":"^0.2.1"},"devDependencies":{"assemble-core":"^0.5.0","async":"^1.5.0","base-methods":"^0.6.1","get-value":"^2.0.0","mocha":"*","should":"^7.1.1"},"verb":{"related":{"list":["base-methods","base-runner","base-tree","use"]}},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"gitHead":"d5483f96674271931b2472eb3d34adfa5704903e","_id":"base-list@0.1.2","_shasum":"60ce74daaf938f6dbd7eb9c41aba33bf059123b1","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"60ce74daaf938f6dbd7eb9c41aba33bf059123b1","size":4801,"noattachment":false,"key":"/base-list/-/base-list-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-list/download/base-list-0.1.2.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"directories":{},"publish_time":1449701052631,"_cnpm_publish_time":1449701052631,"_hasShrinkwrap":false},"0.1.1":{"name":"base-list","description":"base-runner plugin that prompts the user to choose from a list of registered applications and their available tasks.","version":"0.1.1","homepage":"https://github.com/doowb/base-list","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/base-list.git"},"bugs":{"url":"https://github.com/doowb/base-list/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ansi-colors":"^0.1.0","arr-union":"^3.0.0","base-tree":"^0.1.0","extend-shallow":"^2.0.1","lazy-cache":"^0.2.4","question-cache":"^0.3.3","union-value":"^0.2.1"},"devDependencies":{"assemble-core":"^0.5.0","async":"^1.5.0","get-value":"^2.0.0","mocha":"*","should":"^7.1.1"},"verb":{"related":{"list":["base-methods","base-runner","base-tree","use"]}},"gitHead":"66980b62048a8d958ff96d6c789755da4939f582","_id":"base-list@0.1.1","_shasum":"27c2f41338e6a3da855625ddb40a200170e9c2a9","_from":".","_npmVersion":"3.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"27c2f41338e6a3da855625ddb40a200170e9c2a9","size":4718,"noattachment":false,"key":"/base-list/-/base-list-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-list/download/base-list-0.1.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"directories":{},"publish_time":1449611271539,"_cnpm_publish_time":1449611271539,"_hasShrinkwrap":false},"0.1.0":{"name":"base-list","description":"base-runner plugin that prompts the user to choose from a list of registered applications and their available tasks.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/base-list","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/base-list.git"},"bugs":{"url":"https://github.com/jonschlinkert/base-list/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ansi-colors":"^0.1.0","arr-union":"^3.0.0","base-tree":"^0.1.0","extend-shallow":"^2.0.1","lazy-cache":"^0.2.4","question-cache":"^0.3.3","union-value":"^0.2.1"},"devDependencies":{"assemble-core":"^0.5.0","async":"^1.5.0","get-value":"^2.0.0","mocha":"*","should":"^7.1.1"},"verb":{"related":{"list":["base-methods","base-runner","base-tree","use"]}},"gitHead":"93ccec6889850be5a87059e462e6a5ee9c952c51","_id":"base-list@0.1.0","_shasum":"cf2c288d549ec22bcb17ad8eae8dc37865300479","_from":".","_npmVersion":"3.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"cf2c288d549ec22bcb17ad8eae8dc37865300479","size":4703,"noattachment":false,"key":"/base-list/-/base-list-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-list/download/base-list-0.1.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"directories":{},"publish_time":1449610397459,"_cnpm_publish_time":1449610397459,"_hasShrinkwrap":false}},"readme":"# base-list [![NPM version](https://img.shields.io/npm/v/base-list.svg)](https://www.npmjs.com/package/base-list) [![Build Status](https://img.shields.io/travis/doowb/base-list.svg)](https://travis-ci.org/doowb/base-list)\n\n> base-runner plugin that prompts the user to choose from a list of registered applications and their available tasks.\n\n## Install\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm i base-list --save\n```\n\n## Usage\n\n```js\nvar list = require('base-list');\napp.use(list());\n```\n\n## API\n\n### [.baseListPlugin](index.js#L26)\n\nBuild grouped lists of tasks.\n\n**Params**\n\n* `prop` **{String}**: e.g. `generators`    \n* `options` **{String}**: Additional options to control output styling    \n* `options.appColor` **{String}**: Color to use when displaying the app names.    \n* `options.taskColor` **{String}**: Color to use when displaying task names.    \n* `options.depColor` **{String}**: Color to use when displaying task dependencies.    \n* `options.appMsg` **{String}**: Message to display for the app name. This is a template that may contain `:name` where the app name should be. (defaults to \":name\")    \n* `options.taskMsg` **{String}**: Message to display for the task name. This is a template that may contain `:name` and `:deps` where the task name and the task depdencies should be. (defaults to \":name :deps\")    \n\n\n\n### [displayTasks](index.js#L57)\nDisplay the application hierarchy of apps and tasks in a formatted tree.\n\n\n\n**Example**\n\n\n\n```js\napp.displayTasks()\n```\n\n\n### [chooseTasks](index.js#L78)\nPresent a multiple choice list of apps and tasks to run. Return results from a user making choices.\n\n\n**Params**\n\n* `cb` **{Function}**: Callback function that will return any errors or the results of the user choices.    \n\n**Example**\n\n\n\n```js\napp.chooseTasks(function(err, results) {\n  if (err) return console.error(err);\n  console.log(results);\n});\n```\n\n\n\n## Related projects\n* [base-methods](https://www.npmjs.com/package/base-methods): base-methods is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting… [more](https://www.npmjs.com/package/base-methods) | [homepage](https://github.com/jonschlinkert/base-methods)\n* [base-runner](https://www.npmjs.com/package/base-runner): Orchestrate multiple instances of base-methods at once. | [homepage](https://github.com/jonschlinkert/base-runner)\n* [base-tree](https://www.npmjs.com/package/base-tree): Add a tree method to generate a hierarchical tree structure representing nested applications and child… [more](https://www.npmjs.com/package/base-tree) | [homepage](https://github.com/doowb/base-tree)\n* [use](https://www.npmjs.com/package/use): Easily add plugin support to your node.js application. | [homepage](https://github.com/jonschlinkert/use)\n\n## Running tests\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/doowb/base-list/issues/new).\n\n## Author\n**Brian Woodward**\n\n+ [github/doowb](https://github.com/doowb)\n+ [twitter/doowb](http://twitter.com/doowb)\n\n## License\nCopyright © 2016 [Brian Woodward](https://github.com/doowb)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb) on January 14, 2016._\n","_attachments":{},"homepage":"https://github.com/doowb/base-list","bugs":{"url":"https://github.com/doowb/base-list/issues"},"license":"MIT"}