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.
- Host: GitHub
- URL: https://github.com/mehuaniket/wooshh
- Owner: mehuaniket
- License: mit
- Created: 2023-08-30T17:42:13.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-11T02:20:35.000Z (over 1 year ago)
- Last Synced: 2025-01-04T21:47:56.506Z (5 months ago)
- Topics: audio, cli, command-line, rust, rust-cli-starter, terminal
- Language: Rust
- Homepage:
- Size: 250 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
![]()
# wooshh
**wooshh** is a replacement for `time` written in [Rust](https://www.rust-lang.org/).
[](https://github.com/mehuaniket/wooshh/actions/workflows/release.yml)
[](https://codecov.io/gh/mehuaniket/woosh)
[](https://github.com/mehuaniket/woosh/blob/main/CHANGELOG.md)
[](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
```
## UsageThis 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: 🔊
## LicenseThis program is licensed under the MIT license.