app

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Overview

Package app wires config, logging, and the CLI root command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context) error

Run builds the spur CLI and executes it against ctx. cmd/spur/main.go calls this. The context carries OS-signal cancellation down into the commands so a long-running request is interrupted on Ctrl-C.

Types

type Config

type Config struct {
	LogLevel string
}

Config holds runtime configuration loaded from environment. Extend as needed; keep fields grouped by concern.

Jump to

Keyboard shortcuts

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