cmd

package
v6.2.12 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: GPL-3.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCommand

func CreateCommand(system *core.System) *cobra.Command

CreateCommand creates the command with all subcommands to run the system.

func CreateSystem

func CreateSystem(shutdownCallback context.CancelFunc) *core.System

CreateSystem creates the system and registers all default engines.

func Execute

func Execute(ctx context.Context, system *core.System) error

Execute registers all engines into the system and executes the root command.

Types

type CobraRunE

type CobraRunE func(cmd *cobra.Command, args []string) error

CobraRunE defines the signature of a Cobra command that returns an error.

Jump to

Keyboard shortcuts

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