configuration

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InitErr error
	Config  = &Configuration{
		Out:              os.Stdout,
		ThemesRepository: defaultThemesRepository,
		SleepTimeBetweenEachThemeDownloadInSeconds: 3,
	}
)

Functions

func Init added in v0.8.0

func Init()

Types

type Configuration

type Configuration struct {
	Out                                        io.Writer
	ThemesRepository                           string
	SleepTimeBetweenEachThemeDownloadInSeconds int
	CollectionFile                             string
	EnvironmentFile                            string
	UsedTheme                                  string
	OutputFile                                 string
	Watch                                      bool
	ThemeLocalName                             string
	IgnoredRequestHeaders                      StringsFlag
	IgnoredResponseHeaders                     StringsFlag
	ThemesDirectory                            string
	Args                                       []string
}

type StringsFlag

type StringsFlag struct {
	Values []string
}

func (*StringsFlag) Set

func (sf *StringsFlag) Set(value string) error

func (StringsFlag) String

func (sf StringsFlag) String() string

Jump to

Keyboard shortcuts

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