Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRestoreCommand

func NewRestoreCommand(app core.App) *cobra.Command

NewRestoreCommand creates and returns new command for restoring a popgres backup (created with the dashboard, the backups API or app.CreateBackup).

The app must not be running (in any instance) while the backup is restored.

func NewServeCommand

func NewServeCommand(app core.App, showStartBanner bool) *cobra.Command

NewServeCommand creates and returns new command responsible for starting the default PocketBase web server.

func NewSuperuserCommand

func NewSuperuserCommand(app core.App) *cobra.Command

NewSuperuserCommand creates and returns new command for managing superuser accounts (create, update, upsert, delete).

Types

This section is empty.

Directories

Path Synopsis
Command popgres-import imports a PocketBase pb_data directory (data.db, auxiliary.db and the local storage files) into a popgres database.
Command popgres-import imports a PocketBase pb_data directory (data.db, auxiliary.db and the local storage files) into a popgres database.
internal/importer
Package importer copies the collections and the data of a PocketBase SQLite pb_data directory into a popgres (Postgres) app.
Package importer copies the collections and the data of a PocketBase SQLite pb_data directory into a popgres (Postgres) app.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL