config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdditionalFunctionalities = []*cli.Command{}

AdditionalFunctionalities is a list of commands that cause the software to behave differently

View Source
var DefaultModules []coreCommon.Service

Functions

func HomeDir

func HomeDir() string

func NewApp

func NewApp(usage string) *cli.App

NewApp creates a default MEV Plus CLI app.

Types

type CoreConfig

type CoreConfig struct {
	ModuleFlags map[string]common.ModuleFlags
}

type TextMarshaler

type TextMarshaler interface {
	encoding.TextMarshaler
	encoding.TextUnmarshaler
}

type TextMarshalerFlag

type TextMarshalerFlag struct {
	Name string

	Category    string
	DefaultText string
	Usage       string

	Required   bool
	Hidden     bool
	HasBeenSet bool

	Value TextMarshaler

	Aliases []string
}

TextMarshalerFlag wraps a TextMarshaler value.

func (*TextMarshalerFlag) Apply

func (f *TextMarshalerFlag) Apply(set *flag.FlagSet) error

func (*TextMarshalerFlag) GetCategory

func (f *TextMarshalerFlag) GetCategory() string

func (*TextMarshalerFlag) GetDefaultText

func (f *TextMarshalerFlag) GetDefaultText() string

func (*TextMarshalerFlag) GetEnvVars

func (f *TextMarshalerFlag) GetEnvVars() []string

func (*TextMarshalerFlag) GetUsage

func (f *TextMarshalerFlag) GetUsage() string

func (*TextMarshalerFlag) GetValue

func (f *TextMarshalerFlag) GetValue() string

func (*TextMarshalerFlag) IsRequired

func (f *TextMarshalerFlag) IsRequired() bool

func (*TextMarshalerFlag) IsSet

func (f *TextMarshalerFlag) IsSet() bool

func (*TextMarshalerFlag) IsVisible

func (f *TextMarshalerFlag) IsVisible() bool

func (*TextMarshalerFlag) Names

func (f *TextMarshalerFlag) Names() []string

func (*TextMarshalerFlag) String

func (f *TextMarshalerFlag) String() string

func (*TextMarshalerFlag) TakesValue

func (f *TextMarshalerFlag) TakesValue() bool

Jump to

Keyboard shortcuts

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