slack  

Manage Slack notifications

Subcommands

add Add Slack webhook to a configuration
remove, rm Remove Slack webhooks from a configuration
test Send a test Slack message
list, ls List Slack webhooks for a configuration

add

dbvcli slack add {-d|--name} CONFIGURATION_NAME [--OPTIONS]

Add Slack webhook to a configuration

Option

Type

Description

Option

Type

Description

--webhook

string, required

Slack webhook to add

--test

Y or N

test sending Slack message before adding

C:\Program Files\Dbvisit\standbymp\bin>dbvcli.exe -d mine slack add Connecting to the Control Center at localhost:4433 ✓ Add Slack Webhook 1/2 Enter the Slack webhook to add to the configuration. Slack Webhook: > vices/xxxxxxxxx/BNWDH9ARJ/vrFkN1LF0O0bD2xwrMv7Hhxl Add Slack Webhook 2/2 Select whether to send a test Slack message using this Slack webhook before adding it. Send Test Slack Message: (•) Yes ( ) No Sending test Slack message ✓ Test Slack message sent successfully Test Result Select how to proceed with adding this Slack webhook. Action: (•) Save the Slack webhook ( ) Edit the Slack webhook ( ) Show debug information from test ( ) Exit this command without adding the Slack webhook Slack webhook successfully added C:\Program Files\Dbvisit\standbymp\bin>

remove, rm

dbvcli slack remove {-d|--name} CONFIGURATION_NAME [--OPTIONS] dbvcli slack rm {-d|--name} CONFIGURATION_NAME [--OPTIONS]

Remove Slack webhooks from a configuration

Option

Type

Description

Option

Type

Description

--webhook

string, required

Slack webhook to remove

test

Send a test Slack message

Option

Type

Description

Option

Type

Description

--webhook

string, required

Slack webhook to send Slack message to

--show-debug

Y or N

whether to show detailed debug information

list, ls

List Slack webhooks for a configuration