fix: fixed some mistakes in pushover service

pull/5/head
Valentyn Nastenko 4 years ago
parent 5377dac6ef
commit 150e3d424a

@ -9,7 +9,7 @@ import (
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
) )
// slackPingMe struct holds data parsed via flags for slack service. // pushOver struct holds data parsed via flags for pushover service
type pushOver struct { type pushOver struct {
Token string Token string
Recipient string Recipient string

@ -20,7 +20,7 @@ func main() {
app.Description = `PingMe is a CLI tool which provides the ability to send messages or alerts to multiple app.Description = `PingMe is a CLI tool which provides the ability to send messages or alerts to multiple
messaging platforms and also email, everything is configurable via environment messaging platforms and also email, everything is configurable via environment
variables and command line switches.Currently supported platforms include Slack, Telegram, variables and command line switches.Currently supported platforms include Slack, Telegram,
RocketChat, Discord, Microsoft Teams and email address.` RocketChat, Discord, Pushover, Microsoft Teams and email address.`
// app.Commands contains the subcommands as functions which return []*cli.Command. // app.Commands contains the subcommands as functions which return []*cli.Command.
app.Commands = []*cli.Command{ app.Commands = []*cli.Command{
cmd.SendToTelegram(), cmd.SendToTelegram(),

Loading…
Cancel
Save