You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
option -p, --profile is available in CLI with profile name as argument
.slacksrc file can have profiles with different WEBHOOK_URL variables for respective channels
eg.
$ cat .slacksrc
# this is a webhook for #general channell
[general]
WEBHOOK_URL = https://hooks.slack.com/services/XXXXXXXXX
# this is a webhook for #test channell
[test]
WEBHOOK_URL = https://hooks.slack.com/services/YYYYYYYYY
$ echo"Hello, World"| ./slacks.py -p general
The text was updated successfully, but these errors were encountered:
AC:
-p
,--profile
is available in CLI with profile name as argumentWEBHOOK_URL
variables for respective channelseg.
The text was updated successfully, but these errors were encountered: