| Crates.io | cmd-mf |
| lib.rs | cmd-mf |
| version | 0.1.0 |
| created_at | 2025-04-25 18:41:18.734273+00 |
| updated_at | 2025-04-25 18:41:18.734273+00 |
| description | A spicy little command wrapper that provides audible feedback with attitude |
| homepage | |
| repository | https://github.com/arvindell/mf |
| max_upload_size | |
| id | 1649349 |
| size | 24,820 |
mf is a spicy little wrapper for your shell commands that provides audible feedback with attitude. It will vocally tell you whether your command succeeded or failed, with a variety of colorful phrases.
mf# Clone the repository
git clone https://github.com/yourusername/mf.git
cd mf
# Build in release mode
cargo build --release
# Move the binary to a location in your PATH (Linux/macOS)
cp target/release/mf ~/.local/bin/ # or sudo cp target/release/mf /usr/local/bin/
# Or on Windows, copy the binary to a location in your PATH
# copy target\release\mf.exe %USERPROFILE%\bin\
cargo install --git https://github.com/yourusername/mf
mf [COMMAND]
You can use mf in two ways:
As a command prefix (run command and get feedback):
mf ls -la
After a command (get feedback about the previous command):
ls -la; mf
This is useful when you want to know when a long-running task completes.
# Run a successful command with mf prefix
mf ls -la
# Speaks: "Hell yeah, it fucking worked!" (or other random success message)
# Run a failing command with mf prefix
mf some-nonexistent-command
# Speaks: "What the hell did you do wrong?" (or other random failure message)
# Multi-word commands work too
mf "find . -name '*.rs' | wc -l"
# Run a command and get feedback after completion
make build; mf
mf uses different text-to-speech mechanisms depending on your platform:
say commandespeak or espeak-ng (needs to be installed)If no text-to-speech capability is available, messages will still be printed to the console.
This tool is perfect for:
sudo apt-get install espeak on Debian/Ubuntu)Contributions are welcome! Feel free to add more colorful messages or extend functionality.
MIT