serpent

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDefaults

func SetDefaults(v *viper.Viper, args Arguments) error

func SetPersistentFlags

func SetPersistentFlags(cmd *cobra.Command, v *viper.Viper, args Arguments) error

Types

type Argument

type Argument struct {
	Default any
	Help    string
}

type Arguments

type Arguments map[string]Argument

Jump to

Keyboard shortcuts

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