add support for notification in command

Add support to send notifications on command completion