config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2015 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// File is the name of the configuration file of WPSync
	File = "wpsync.json"
)

Variables

This section is empty.

Functions

func Init added in v1.1.0

func Init(svn string)

Init configures the config.File

Types

type Config added in v1.1.0

type Config struct {
	Increase, File, Readme, Svn, Message string
	Bower, Composer, Keep                bool
	Ignore                               []string
}

Config is the type of options for main action of WPSync

func GetConfig added in v1.1.0

func GetConfig() Config

GetConfig is used to get the configuration from config.File

Jump to

Keyboard shortcuts

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