Added a shorthand for notifications (#209)

Added a shorthand for notifications

Reviewed-on: https://gitea.com/gitea/tea/pulls/209
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
crapStone 2020-10-01 03:35:03 +00:00 committed by Lunny Xiao
parent de5a00e807
commit c1d725ed34

View File

@ -19,6 +19,7 @@ import (
// CmdNotifications is the main command to operate with notifications // CmdNotifications is the main command to operate with notifications
var CmdNotifications = cli.Command{ var CmdNotifications = cli.Command{
Name: "notifications", Name: "notifications",
Aliases: []string{"notif"},
Usage: "Show notifications", Usage: "Show notifications",
Description: "Show notifications, by default based of the current repo and unread one", Description: "Show notifications, by default based of the current repo and unread one",
Action: runNotifications, Action: runNotifications,