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
},
After: func(c*cli.Context) error {
// Handle notification at the end of the CLI app runtitle:=fmt.Sprintf("%s - %s Sats",
strings.Title(c.String("exchange")),
strings.Title(action),
)
// Do not notify if result is not set ( for example if the required args where not specified )// TODO Add support for notification on errorsifresult!="" {
err:=nf.Notify(title, result)
9bad4f45c7757d929b14ac5cd8b39a914320f76b
The text was updated successfully, but these errors were encountered:
Add support for notification on errors
sats-stacker/main.go
Line 349 in 7ab02f2
9bad4f45c7757d929b14ac5cd8b39a914320f76b
The text was updated successfully, but these errors were encountered: