app

package
v0.0.0-...-e0b90a1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package app connects parsed commands to their runtime dependencies.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handlers

func Handlers(deps Dependencies) cli.Handlers

Handlers connects the available commands to their application services. Each invocation resolves its own store after the global flags are parsed.

Types

type Dependencies

type Dependencies struct {
	// Stdout receives the reports printed by commands.
	Stdout io.Writer
	// Signals coordinates child teardown with process-level cancellation.
	Signals *signals.Controller
}

Dependencies contains the process resources shared by command handlers.

Jump to

Keyboard shortcuts

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