mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-01 17:19:34 -06:00
22 lines
423 B
Go
22 lines
423 B
Go
package admin
|
|
|
|
import (
|
|
"github.com/shroff/phylum/server/internal/command/admin/schema"
|
|
"github.com/shroff/phylum/server/internal/command/admin/user"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func SetupCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "admin",
|
|
Short: "Admin Commands",
|
|
}
|
|
cmd.AddCommand([]*cobra.Command{
|
|
user.SetupCommand(),
|
|
schema.SetupCommand(),
|
|
// storage.SetupCommand(),
|
|
}...)
|
|
|
|
return cmd
|
|
}
|