equal
deleted
inserted
replaced
1 // Copyright © 2017-2018 Mikael Berthe <mikael@lilotux.net> |
1 // Copyright © 2017-2023 Mikael Berthe <mikael@lilotux.net> |
2 // |
2 // |
3 // Licensed under the MIT license. |
3 // Licensed under the MIT license. |
4 // Please see the LICENSE file is this directory. |
4 // Please see the LICENSE file is this directory. |
5 |
5 |
6 package cmd |
6 package cmd |
10 "strings" |
10 "strings" |
11 |
11 |
12 "github.com/pkg/errors" |
12 "github.com/pkg/errors" |
13 "github.com/spf13/cobra" |
13 "github.com/spf13/cobra" |
14 |
14 |
15 "github.com/McKael/madon/v2" |
15 "github.com/McKael/madon/v3" |
16 ) |
16 ) |
17 |
17 |
18 var notificationsOpts struct { |
18 var notificationsOpts struct { |
19 list, clear, dismiss bool |
19 list, clear, dismiss bool |
20 notifID int64 |
20 notifID int64 |