0.5.0 • Published 7 years ago

listr-update-renderer v0.5.0

Weekly downloads
4,075,719
License
MIT
Repository
github
Last release
7 years ago

listr-update-renderer Build Status

Listr update renderer

Install

$ npm install --save listr-update-renderer

Usage

const UpdaterRenderer = require('listr-update-renderer');
const Listr = require('listr');

const list = new Listr([
    {
        title: 'foo',
        task: () => Promise.resolve('bar')
    }
], {
    renderer: UpdaterRenderer,
	collapse: false
});

list.run();

Note: This is the default renderer for Listr and doesn't need to be specified.

Options

These options should be provided in the Listr options object.

showSubtasks

Type: boolean Default: true

Set to false if you want to disable the rendering of the subtasks. Subtasks will be rendered if an error occurred in one of them.

collapse

Type: boolean Default: true

Set to false if you don't want subtasks to be hidden after the main task succeed.

clearOutput

Type: boolean Default: false

Clear the output when all the tasks are executed succesfully.

Related

License

MIT © Sam Verschueren

listr@allie-project/listrarchetype-librarystrapux@67p/aragon-clicogoportutils@prodam/prodam-types@everything-registry/sub-chunk-2083web-components-angular-clisvavatarvue-compmentvcloudcam-playkit-js-hlsvue-dev-clone@composedb/cli@pddstudio/docker-manifest@rbc-public/react-selectable-fasttwine-libtwine-library@aragon/cli-utils@asiz33/smartblok-vendure-plugin@bee-icons/qwik@ceramicstudio/idx-cli@deepcrawl/oreo@devorso/dcountdownxod-cliwebql-codegen-cli@fevo-tech/graphql-codegen-cli@glazed/cli@gowner/gjcli@mariomui/cans@nimbus/cli@ncigdc/buildjs@ncigdc/buildjs-scripts@envuso/compiler@ewarren/contentful-export@fabiospampinato/autogit@knit/logger@noreajs/cli@nyaxk/react-one-tab-enforcer@o2oa/component-tools@oriduk/ckeditor5-rebuild-oriduk@oriduk/ckeditor5-rebuild-musicanote@serverless-devs/nodejs-deploy-best-practice@seculum/vue-dev-clonemobile_team_cliorangepiggy-cliover-armour-masterscript-runrun-with-changesscrippynois-react-toastplaykit-js-hls-sondqpolen-web-components-reactrepo-fixerreplugquake-taskreact-picky-with-cleargraphql-code-generatorhexyun.helperslinnetlint-staged-offlinemama-exporterkube-smoke-test@wcfactory/cli@tmcw/graphql-codegen-cli@tonyfromundefined/graphql-codegen-cli@trimble-creative-strategy/contentful-export-aws@zalastax/nolb-lisam-cliautogitcontentful-importcontentful-exportckeditor5-build-classic-ticketckeditor5-build-classic-v-editcreate-react-cmscreate-aragon-appcreate-smktestbase-editordiscordjs-con-selfdiscord.js-bycondigital-keyboard-demoseasyplayer-mygabi-cli
0.5.0

7 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago