mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-16 09:01:30 -06:00
19 lines
279 B
Go
19 lines
279 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{
|
|
setupLibraryCommand(),
|
|
setupUserCommand(),
|
|
}...)
|
|
|
|
return cmd
|
|
}
|