slack  

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

C:\Program Files\Dbvisit\standbymp\bin>dbvcli.exe -d mine slack rm Connecting to the Control Center at localhost:4433 ✓ Remove Slack Webhook Select the Slack webhooks to remove. Slack Webhooks: > [✓] https://hooks.slack.com/services/xxxxxx/BNWDH9ARJ/vrFkN1LF0O0bD2xwrMv7Hhxl Confirmation Select Yes to proceed with removing the selected Slack webhooks, or No to cancel the operation. Confirm Remove Slack Webhooks: (•) Yes ( ) No Slack webhook successfully removed

Option

Type

Description

Option

Type

Description

--webhook

string, required

Slack webhook to remove

test

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

Send a test Slack message

C:\Program Files\Dbvisit\standbymp\bin>dbvcli.exe -d mine slack test Connecting to the Control Center at localhost:4433 ✓ Test Slack Webhook Select the Slack webhooks to send test Slack message to. Slack Webhooks: > [✓] https://hooks.slack.com/services/xxxxxx/BNWDH9ARJ/vrFkN1LF0O0bD2xwrMv7Hhxl Sending test Slack message ✓ Test Slack message sent successfully Debug Information Select whether to show detailed debug information from the test. Show Debug Information: (•) Yes ( ) No ok

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

dbvcli slack list {-d|--name} CONFIGURATION_NAME dbvcli slack ls {-d|--name} CONFIGURATION_NAME

List Slack webhooks for a configuration

C:\Program Files\Dbvisit\standbymp\bin>dbvcli.exe -d mine slack ls Connecting to the Control Center at localhost:4433 ✓ Slack Webhooks for Configuration mine https://hooks.slack.com/services/xxxxxxx/BNWDH9ARJ/vrFkN1LF0O0bD2xwrMv7Hhxl C:\Program Files\Dbvisit\standbymp\bin>