An open API service indexing awesome lists of open source software.

https://github.com/mehuaniket/wooshh

wooshhh-sound extends <time>: Utility to play sound on cmd run successfully.
https://github.com/mehuaniket/wooshh

audio cli command-line rust rust-cli-starter terminal

Last synced: 3 months ago
JSON representation

wooshhh-sound extends <time>: Utility to play sound on cmd run successfully.

Awesome Lists containing this project

README

        




# wooshh

**wooshh** is a replacement for `time` written in [Rust](https://www.rust-lang.org/).

[![Release](https://github.com/mehuaniket/wooshh/actions/workflows/release.yml/badge.svg)](https://github.com/mehuaniket/wooshh/actions/workflows/release.yml)
[![codecov](https://codecov.io/gh/mehuaniket/woosh/branch/main/graph/badge.svg)](https://codecov.io/gh/mehuaniket/woosh)
[![Changelog](https://img.shields.io/badge/changelog-v0.2.1-green.svg)](https://github.com/mehuaniket/woosh/blob/main/CHANGELOG.md)
[![homebrew](https://img.shields.io/homebrew/v/wooshh.svg)](https://formulae.brew.sh/formula/wooshh)

## Documentation quick links

* [Features](#features)
* [Platform](#platform)
* [Installation](#installation)
* [Usage](#usage)
* [Configuration](#configuration)

## 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 :musical_note: 🔊
## License

This program is licensed under the MIT license.