hooks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreRunE

func PreRunE(cmd *cobra.Command, _ []string) error

PreRunE is the default PreRun hook with no extra options.

func PreRunEWithConfig

func PreRunEWithConfig(cmd *cobra.Command, cfg Config) error

PreRunEWithConfig applies initial config, then merges CLI flags, then finalizes setup.

Types

type Config

type Config struct {
	setup.FilesystemConfigOptions
}

Config holds setup values. CLI flags can override these.

Jump to

Keyboard shortcuts

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