mirror of
https://github.com/kha7iq/pingme.git
synced 2025-05-15 22:30:11 -07:00
fix: fixed some mistakes in pushover service
This commit is contained in:
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
|
||||||
|
2
main.go
2
main.go
@ -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…
x
Reference in New Issue
Block a user