mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-06 03:31:02 -06:00
[server][cmd] split serve into separate package
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"github.com/shroff/phylum/server/internal/command/common"
|
||||
"github.com/shroff/phylum/server/internal/command/fs"
|
||||
"github.com/shroff/phylum/server/internal/command/schema"
|
||||
"github.com/shroff/phylum/server/internal/command/serve"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
@@ -52,8 +53,9 @@ func SetupCommand() {
|
||||
|
||||
rootCmd.AddCommand([]*cobra.Command{
|
||||
appcmd.SetupCommand(),
|
||||
fs.SetupCommand(),
|
||||
schema.SetupCommand(),
|
||||
fs.SetupCommand(),
|
||||
serve.SetupCommand(),
|
||||
}...)
|
||||
rootCmd.Execute()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user