Mercurial > libervia-backend
diff libervia/cli/cmd_notifications.py @ 4270:0d7bb4df2343
Reformatted code base using black.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 19 Jun 2024 18:44:57 +0200 |
parents | 8d361adf0ee1 |
children |
line wrap: on
line diff
--- a/libervia/cli/cmd_notifications.py Tue Jun 18 12:06:45 2024 +0200 +++ b/libervia/cli/cmd_notifications.py Wed Jun 19 18:44:57 2024 +0200 @@ -98,10 +98,10 @@ await self.host.bridge.notification_add( self.args.type, self.args.body_plain, - "", # TODO: self.args.body_rich or "", + "", # TODO: self.args.body_rich or "", self.args.title or "", self.args.is_global, - False, # TODO: self.args.requires_action, + False, # TODO: self.args.requires_action, self.args.priority, self.args.expire_at, "", @@ -300,7 +300,8 @@ ) self.parser.add_argument( - "-g", "--is-global", + "-g", + "--is-global", action="store_true", help=_("true if the notification is a global one"), )