config

package
v0.0.0-...-41e44c1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SupportedFilters

func SupportedFilters() []string

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func New

func New(prime primeable) *Config

func (*Config) Run

func (c *Config) Run(cmd *captain.Command, params *ConfigParams) error

type ConfigParams

type ConfigParams struct {
	Filter Filter
}

type Filter

type Filter struct {
	// contains filtered or unexported fields
}

Filter is the --filter flag for the export config command, it implements captain.FlagMarshaler

func (*Filter) Set

func (f *Filter) Set(value string) error

func (Filter) String

func (f Filter) String() string

func (Filter) Type

func (f Filter) Type() string

type Term

type Term int
const (
	Dir Term = iota
)

func (Term) String

func (f Term) String() string

Jump to

Keyboard shortcuts

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