2017-04-20 09:04:17 +00:00
|
|
|
package cli
|
|
|
|
|
2018-04-13 11:34:16 +00:00
|
|
|
import "github.com/alecthomas/kingpin"
|
|
|
|
|
2017-04-20 09:04:17 +00:00
|
|
|
// silenceCmd represents the silence command
|
2018-04-13 11:34:16 +00:00
|
|
|
func configureSilenceCmd(app *kingpin.Application, longHelpText map[string]string) {
|
|
|
|
silenceCmd := app.Command("silence", "Add, expire or view silences. For more information and additional flags see query help")
|
|
|
|
configureSilenceAddCmd(silenceCmd, longHelpText)
|
|
|
|
configureSilenceExpireCmd(silenceCmd, longHelpText)
|
|
|
|
configureSilenceImportCmd(silenceCmd, longHelpText)
|
|
|
|
configureSilenceQueryCmd(silenceCmd, longHelpText)
|
|
|
|
configureSilenceUpdateCmd(silenceCmd, longHelpText)
|
|
|
|
}
|