1
0
Fork 0

Adding upstream version 0.8.9.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-22 10:16:14 +02:00
parent 3b2c48b5e4
commit c0c4addb85
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
285 changed files with 25880 additions and 0 deletions

35
shoutrrr/main.go Normal file
View file

@ -0,0 +1,35 @@
package main
import (
"os"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/nicholas-fedor/shoutrrr/internal/meta"
"github.com/nicholas-fedor/shoutrrr/shoutrrr/cmd"
"github.com/nicholas-fedor/shoutrrr/shoutrrr/cmd/docs"
"github.com/nicholas-fedor/shoutrrr/shoutrrr/cmd/generate"
"github.com/nicholas-fedor/shoutrrr/shoutrrr/cmd/send"
"github.com/nicholas-fedor/shoutrrr/shoutrrr/cmd/verify"
)
var cobraCmd = &cobra.Command{
Use: "shoutrrr",
Version: meta.Version,
Short: "Shoutrrr CLI",
}
func init() {
viper.AutomaticEnv()
cobraCmd.AddCommand(verify.Cmd)
cobraCmd.AddCommand(generate.Cmd)
cobraCmd.AddCommand(send.Cmd)
cobraCmd.AddCommand(docs.Cmd)
}
func main() {
if err := cobraCmd.Execute(); err != nil {
os.Exit(cmd.ExUsage)
}
}