22 lines
472 B
Go
22 lines
472 B
Go
package server
|
|
|
|
import (
|
|
"forge.cadoles.com/Cadoles/emissary/internal/command/config"
|
|
"forge.cadoles.com/Cadoles/emissary/internal/command/server/auth"
|
|
"forge.cadoles.com/Cadoles/emissary/internal/command/server/database"
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
func Root() *cli.Command {
|
|
return &cli.Command{
|
|
Name: "server",
|
|
Usage: "Server related commands",
|
|
Subcommands: []*cli.Command{
|
|
RunCommand(),
|
|
database.Root(),
|
|
config.Root(),
|
|
auth.Root(),
|
|
},
|
|
}
|
|
}
|