central

package
v19.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(newAdmin AdminFactory) *cobra.Command

NewCommand builds the "central" command group.

Types

type AdminFactory

type AdminFactory func(context.Context) (*admin.Admin, error)

AdminFactory opens an Admin connected to the central database. Leaf commands call it from their RunE so that --help and argument validation never require a database connection.

Jump to

Keyboard shortcuts

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