0.3.0 • Published 1 year ago

listr-cli v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

listr-cli

Command-line task lists made pretty.

Gracefully handles and displays failures, including if a given command is not found.

If used in a CI environment, command output is outputted as is.

Install

npm install --save-dev listr-cli
yarn add -D listr-cli

Node 14.8 or higher required.

Usage

$ listr

  Usage
    $ listr <command> […]

    Commands should be space-separated. Commands with spaces in them must be surrounded by quotes.

    Equivalent to 'command1 && command2 && …'.

  Options
    --all-optional  Continue executing tasks if one fails.      [default: exit]
    --hide-timer    Disable showing successful task durations.  [default: show]

  Examples
    Run test commands in order
    $ listr xo 'c8 ava'

    Run commands that can fail
    $ listr xo ava tsd --all-optional

Related

  • listr2 - The library used to build this.
0.3.0

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago