2019-08-06 02:00:52 -07:00
|
|
|
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{
|
2019-08-06 07:03:48 -07:00
|
|
|
Use: "fluuxmpp",
|
|
|
|
Short: "fluuxIO's xmpp comandline tool",
|
2019-08-06 02:00:52 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
log.AddHook(&hook{})
|
|
|
|
if err := cmdRoot.Execute(); err != nil {
|
|
|
|
log.Fatal(err)
|
|
|
|
}
|
|
|
|
}
|