shared

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() (*config.Config, error)

GetConfig initializes and loads the application configuration. This combines config.InitConfig() and config.GetConfig() into a single call.

func OutputError

func OutputError(err error, suggestion string) error

OutputError formats and outputs an error with an optional suggestion. Uses the error formatter for consistent error display.

func OutputSection

func OutputSection(section *format.Section) error

OutputSection formats and outputs a section to stdout. Uses the text formatter for human-readable output.

func OutputStatus

func OutputStatus(status *format.Status) error

OutputStatus formats and outputs a status message to stdout. Uses the text formatter for human-readable output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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