cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package cmd implements various PocketBase system commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMigrateCommand

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

NewMigrateCommand creates and returns new command for handling DB migrations.

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 NewVersionCommand

func NewVersionCommand(app core.App, version string) *cobra.Command

NewVersionCommand creates and returns new command that prints the current PocketBase version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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