mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-02 01:29:42 -06:00
23 lines
486 B
Go
23 lines
486 B
Go
package admin
|
|
|
|
import (
|
|
"github.com/shroff/phylum/server/internal/command/admin/schema"
|
|
"github.com/shroff/phylum/server/internal/command/admin/storage"
|
|
"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
|
|
}
|