config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfigOrContinue

func LoadConfigOrContinue(ctx context.Context, logger *log.Logger) (*domain.Config, error)

LoadConfigOrContinue loads configuration but allows caller to continue on error Returns (config, error) where error can be ignored for graceful degradation.

func LoadConfigWithFallback

func LoadConfigWithFallback(ctx context.Context, logger *log.Logger) (*domain.Config, error)

LoadConfigWithFallback loads configuration with proper error handling and user feedback This eliminates duplicate config loading patterns across commands.

func PrintConfigSuccess

func PrintConfigSuccess(cfg *domain.Config)

PrintConfigSuccess prints configuration success message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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