results-cli

0.0.193 • Public • Published

results-cli

Install

npm i @reggi/results-cli -g

terminal example

Why

View the exit code of any given command.

How

$ results -- echo "hello"
success
$ results -- exit 1
failure

Usage

$ results --help

Usage: results [-- <args>...]

  print clear exit code from command

  Options:

    -u, --no-color      hide color
    -i, --inherit       inherit stdin
    -C, --dir <path>    working directory to use
    -c, --command-show  prints command evaluted
    -p, --path-show     prints current working path
    -d, --dir-show      prints current working directory
    -e, --exit-show     shows the Exit code
    -z, --zero          overwrites passed exit code with 0
    -v, --version       output the version number
    -s, --silent        hide output from this command
    -h, --help          show this output

Readme

Keywords

none

Package Sidebar

Install

npm i results-cli

Weekly Downloads

0

Version

0.0.193

License

none

Unpacked Size

8.96 kB

Total Files

3

Last publish

Collaborators

  • reggi