clicontext

package
v0.0.0-...-365054f Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadUserConfig

func LoadUserConfig(ctx *cli.Context) error

LoadUserConfig determines config location from the context and makes sure that the config file actually exists, creating it if necessary.

func LoadUserConfigQuietly

func LoadUserConfigQuietly(ctx *cli.Context) error

LoadUserConfigQuietly like LoadUserConfig, but instead of returning an error, it logs it on a `warn` level. `error` is specified as a return to adhere to `cli.BeforeFunc` for convenience.

Types

This section is empty.

Jump to

Keyboard shortcuts

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