loader

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2016 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConfigName = "imagesrc"
)

Functions

func ExcludeArgs

func ExcludeArgs(conf interface{}, args []string) []string

ExcludeArgs exludes the given arguments declared in the configuration and returns the remaining arguments. It's the opposite of FilterArgs

func FilterArgs

func FilterArgs(conf interface{}, args []string) []string

FilterArgs filters the given arguments and returns a filtered argument list. It only contains the arguments which are declared in the given configuration struct.

func Load

func Load(conf interface{}, args []string) error

Load loads the given config to the rules of images CLI

Types

This section is empty.

Jump to

Keyboard shortcuts

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