Working Windows build

This commit is contained in:
Philipp Heckel 2022-05-09 11:03:40 -04:00
parent 6e4b31b4e9
commit 7d473488de
10 changed files with 37 additions and 10 deletions

View file

@ -19,6 +19,8 @@ const (
categoryServer = "Server commands"
)
var commands = make([]*cli.Command, 0)
// New creates a new CLI application
func New() *cli.App {
return &cli.App{
@ -30,16 +32,7 @@ func New() *cli.App {
Reader: os.Stdin,
Writer: os.Stdout,
ErrWriter: os.Stderr,
Commands: []*cli.Command{
// Server commands
cmdServe,
cmdUser,
cmdAccess,
// Client commands
cmdPublish,
cmdSubscribe,
},
Commands: commands,
}
}