cmd/notifications.go
changeset 265 05c40b36d3b2
parent 239 605a00e9d1ab
child 268 4dd196a4ee7c
equal deleted inserted replaced
264:8f478162d991 265:05c40b36d3b2
     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