parvej-ahmed-sound
v1.0.0
Published
Global CLI that plays keyboard sounds by modifying PowerShell profile
Maintainers
Readme
parvej-ahmed-sound CLI
Global tool that adds playful sounds to your PowerShell session by hooking into the user profile. Designed for developers who want a little audio every time they run a command.
Installation
npm install -g parvej-ahmed-soundOnce installed, you can run the command namespace parvej-sound:
parvej-sound helpCommands
enable— modify profile, backup, and start playing soundsdisable— remove injected hook (quiet mode)uninstall— restore original profile, delete config, and remove hooksstatus— show current state (enabled/disabled, volume, sound name)volume <0-100>— set playback volume percentageset <name>— choose built-in sound (matrix,click, etc.) orset custom <url>for an MP3 linkreset— revert configuration to defaultsabout— developer contact infohelp— display this usage message
There is also a hidden internal command _play that the PowerShell hook
invokes; you do not call this directly.
Development & Testing
git clone <repo>
cd parvej-ahmed-sound
npm install
npm link # symlink globally for testing
parvej-sound enableSafety and Profile Modification
- The CLI will prompt for confirmation before modifying your PowerShell profile.
- A backup file named
Microsoft.PowerShell_profile_backup_YYYY-MM-DD.ps1is created automatically. - Injected code lives between markers:
# === PARVEJ SOUND START ===and# === PARVEJ SOUND END ===. Only that block is removed when disabling or uninstalling.
Publishing
Package is already configured with a bin entry and preferGlobal.
Follow the same steps as with the earlier parvej-ahmed project:
npm login- bump version in
package.json npm publish --access public
Users may then install via npx parvej-sound or globally.
Feel free to expand sounds, add tests, or port the profile logic to other shells (bash, zsh) in the future.
