mirror of https://github.com/FluuxIO/go-xmpp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
346 B
Go
20 lines
346 B
Go
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/bdlm/log"
|
||
|
"github.com/spf13/cobra"
|
||
|
)
|
||
|
|
||
|
// cmdRoot represents the base command when called without any subcommands
|
||
|
var cmdRoot = &cobra.Command{
|
||
5 years ago
|
Use: "fluuxmpp",
|
||
|
Short: "fluuxIO's xmpp comandline tool",
|
||
5 years ago
|
}
|
||
|
|
||
|
func main() {
|
||
|
log.AddHook(&hook{})
|
||
|
if err := cmdRoot.Execute(); err != nil {
|
||
|
log.Fatal(err)
|
||
|
}
|
||
|
}
|