Skip to content

mehuaniket/wooshh

Repository files navigation


wooshh

wooshh is a replacement for time written in Rust.

Release codecov Changelog homebrew

Documentation quick links

Features

  • Get time it took to run the command
  • It plays sound when command finishes. You don't need to wait on the terminal.

Platform

  • Linux is supported.
  • macOS is experimentally supported.

Installation

  • using script:
curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git mehuaniket/wooshh --tag v0.2.0
  • For mac os with brew :

install

brew tap mehuaniket/tools https://github.com/mehuaniket/tools.git
brew install mehuaniket/tools/wooshh
brew remove wooshh
brew untap mehuaniket/toools

Usage

This is a Rust program that measures the time it takes for a command to execute and play sound when command finishes. The program uses the clap crate to parse command line arguments and the rusty_audio crate to play audio files when the command finishes executing.

To use this program, you need to pass a command and its arguments as command line arguments to the program. You can also specify optional flags for appending to an output file and specifying an output file.

Here is an example of how to use the program:

wooshh sleep 10

It will give you the same result as time command but it play music 🎵 🔊

License

This program is licensed under the MIT license.