Files
phylum/server/internal/command/admin/cmd.go
2025-06-08 00:58:58 +05:30

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
}