Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 1.48 KB

File metadata and controls

51 lines (28 loc) · 1.48 KB

add-sound-effects-cli

The CLI plugin adds sound effect on successfull deploy and failures

Install the plugin using below command

sfdx plugins:install add-sound-effects-cli

Add the path of the mp3 or other music file in the environment variables for playing sounds on deployment success and failures.

For MACOSX or Linux set environment variables for command line session


For playing sounds on Successful deployment

export DEPLOY_SUCCESS_SOUND="<path of your sound file>"

example command is below

export DEPLOY_SUCCESS_SOUND="/Users/mohith.shrivastava/Downloads/right-answer-ding-ding-sound-effect/Right-answer-ding-ding-sound-effect.mp3"

For playing sounds on Failed deployment

export DEPLOY_FAILURE_SOUND="<path of your sound file>"

example command is below

export DEPLOY_FAILURE_SOUND="/Users/mohith.shrivastava/Downloads/Wrong-answer-sound-effect/Wrong-answer-sound-effect.mp3"

For Windows Command line set environment variables for current session


For playing sounds on on Successful deployment

set DEPLOY_SUCCESS_SOUND="<path of your sound file>"

For playing sounds on Failed deployment

set DEPLOY_FAILURE_SOUND="<path of your sound file>"

For Windows PowerShell set environment variables for current session


For playing sounds on on Successful deployment

$env:DEPLOY_SUCCESS_SOUND="<path of your sound file>"

For playing sounds on Failed deployment

$env:DEPLOY_FAILURE_SOUND="<path of your sound file>"