emptypipe 0.2.2

Run a command if stdin is empty
emptypipe-0.2.2 is not a library.

emptypipe

Run a command if stdin is empty

  echo | emptypipe echo 2

Run a command if stdin is not empty

  echo 1 | emptypipe -i echo 2