rc

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package rc provides formatted output helpers for runtime config loading. These functions write to os.Stderr because rc loads before any cobra command is available.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseWarning

func ParseWarning(filename string, cause error)

ParseWarning prints a YAML parse warning to stderr.

This runs during config loading before any cobra command exists, so it writes to os.Stderr directly.

Parameters:

  • filename: the config file that failed to parse
  • cause: the parse error

Types

This section is empty.

Jump to

Keyboard shortcuts

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