listr-cli

0.3.0 • Public • Published

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
Other Package Managers
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.

Package Sidebar

Install

npm i listr-cli

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

6.86 kB

Total Files

5

Last publish

Collaborators

  • tommy-mitchell