mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-25 05:28:33 -06:00
21 lines
325 B
Go
21 lines
325 B
Go
package command
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func setupAdminCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "admin",
|
|
Short: "Server Administration",
|
|
}
|
|
cmd.AddCommand([]*cobra.Command{
|
|
setupStorageCommand(),
|
|
setupUserCommand(),
|
|
setupSiloCommand(),
|
|
setupSchemaCommand(),
|
|
}...)
|
|
|
|
return cmd
|
|
}
|