lawliet

Crates.iolawliet
lib.rslawliet
version0.1.0
sourcesrc
created_at2020-06-30 16:33:11.255074
updated_at2020-06-30 16:33:11.255074
descriptionA tiny CLI-tool that plays sound following exit status
homepage
repositoryhttps://github.com/JohnTitor/lawliet
max_upload_size
id259888
size36,350
Yuki Okushi (JohnTitor)

documentation

https://docs.rs/lawliet

README

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
Commit count: 4

cargo fmt