configuration

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2017 License: MIT Imports: 8 Imported by: 0

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