PocketBase defines a PocketBase app launcher.
It implements [CoreApp] via embedding and all of the app interface methods could be accessed directly through the instance (eg. PocketBase.DataDir()).
Execute initializes the application (if not already) and executes the pb.RootCmd with graceful shutdown support.
This method differs from pb.Start() by not registering the default system commands!
Start starts the application, aka. registers the default system commands (serve, migrate, version) and executes pb.RootCmd.
Optional
RootCmd is the main console command
Generated using TypeDoc
PocketBase defines a PocketBase app launcher.
It implements [CoreApp] via embedding and all of the app interface methods could be accessed directly through the instance (eg. PocketBase.DataDir()).