Files
phylum/server/internal/command/appcmd/admincmd/admin.go
Abhishek Shroff b364b7e03d Hide app.Cs
2024-08-06 22:26:10 +05:30

20 lines
347 B
Go

package admincmd
import (
"github.com/shroff/phylum/server/internal/storage"
"github.com/spf13/cobra"
)
func SetupCommand(cs storage.Storage) *cobra.Command {
cmd := &cobra.Command{
Use: "admin",
Short: "Server Administration",
}
cmd.AddCommand([]*cobra.Command{
setupStorageCommand(cs),
setupUserCommand(),
}...)
return cmd
}