config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AddFlag   bool
	Name      string
	Exts      []string
	Path      []string
	MustExist bool
	// contains filtered or unexported fields
}

Config implement the Module interface

func (*Config) Initialize

func (c *Config) Initialize(*cobra.Command) error

func (*Config) MustCheck

func (c *Config) MustCheck(*cobra.Command)

func (*Config) Register

func (c *Config) Register(cmd *cobra.Command)

Jump to

Keyboard shortcuts

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