#sound #exit #tiny #cli #cli-tool #status #command #tool

app lawliet

A tiny CLI-tool that plays sound following exit status

1 unstable release

0.1.0 Jun 30, 2020

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

~9MB
~50K SLoC