cmdconf

package
v0.0.0-...-d2c61c8 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandEnv

func ExpandEnv(s string) string

ExpandEnv ensures that HOME and XDG_*_HOME variables are available, and then calls os.ExpandEnv.

func Parse

func Parse(config any, flags *flag.FlagSet, lenient bool, defaults ...string)

Parse command-line flags into the configuration object. The default filenames are expanded with ExpandEnv.

Types

This section is empty.

Jump to

Keyboard shortcuts

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