JSPM

listr-cli

0.3.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q40862F
  • License MIT

Command-line task lists made pretty.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (listr-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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
    • listr2 - The library used to build this.