packer: github.com/mitchellh/packer/helper/flag-kv Index | Files

package kvflag

import "github.com/mitchellh/packer/helper/flag-kv"

Index

Package Files

flag.go flag_json.go

type Flag Uses

type Flag map[string]string

Flag is a flag.Value implementation for parsing user variables from the command-line in the format of '-var key=value'.

func (*Flag) Set Uses

func (v *Flag) Set(raw string) error

func (*Flag) String Uses

func (v *Flag) String() string

type FlagJSON Uses

type FlagJSON map[string]string

FlagJSON is a flag.Value implementation for parsing user variables from the command-line using JSON files.

func (*FlagJSON) Set Uses

func (v *FlagJSON) Set(raw string) error

func (*FlagJSON) String Uses

func (v *FlagJSON) String() string

Package kvflag imports 4 packages (graph) and is imported by 52 packages. Updated 2016-07-28. Refresh now. Tools for package owners.