mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-05-19 12:48:51 -05:00
20 lines
301 B
Go
20 lines
301 B
Go
package admincmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func SetupCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "admin",
|
|
Short: "Server Administration",
|
|
}
|
|
cmd.AddCommand([]*cobra.Command{
|
|
setupStorageCommand(),
|
|
setupUserCommand(),
|
|
setupResourceCommand(),
|
|
}...)
|
|
|
|
return cmd
|
|
}
|