1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-12-01 01:16:08 +02:00

updated comments and pass the dashboard path into the installer

This commit is contained in:
Gani Georgiev
2024-11-06 18:20:48 +02:00
parent e4cd6810ab
commit bed45beb13
5 changed files with 25 additions and 21 deletions

View File

@@ -78,8 +78,8 @@ func NewServeCommand(app core.App, showStartBanner bool) *cobra.Command {
command.PersistentFlags().StringVar(
&dashboardPath,
"dashboard",
"/_/{path...}",
"The route path to the superusers dashboard; must include the '{path...}' wildcard parameter",
"_",
"The route path to the superusers dashboard (currently limited to a single path segment)",
)
return command

View File

@@ -11,7 +11,7 @@ import (
)
// NewSuperuserCommand creates and returns new command for managing
// superuser accounts (create, update, delete).
// superuser accounts (create, update, upsert, delete).
func NewSuperuserCommand(app core.App) *cobra.Command {
command := &cobra.Command{
Use: "superuser",