#exit-status #plays #sound #following #cli-tool #tiny

app lawliet

A tiny CLI-tool that plays sound following exit status

1 unstable release

0.1.0 Jun 30, 2020

#4 in #plays

MIT/Apache

12KB

lawliet

lawliet is a cli tool that plays sound following exit status.

If given command exits with 0, lawliet plays success.mp3. If not, it does failure.mp3.

LAWLIET_DIR must be set and audio files must be there.

USAGE

lawliet ls

TODO

  • More codec support
  • Random play
  • Support to add audio files via command line

Dependencies

~1.4–3MB
~54K SLoC