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 |
9 "os" |
9 "os" |
10 |
10 |
11 "github.com/pkg/errors" |
11 "github.com/pkg/errors" |
12 "github.com/spf13/cobra" |
12 "github.com/spf13/cobra" |
13 |
13 |
14 "github.com/McKael/madon/v2" |
14 "github.com/McKael/madon/v3" |
15 ) |
15 ) |
16 |
16 |
17 var domainBlocksOpts struct { |
17 var domainBlocksOpts struct { |
18 show, block, unblock bool |
18 show, block, unblock bool |
19 |
19 |