func Temporary(dir, prefix string) (Config, error) {
	tempDir, err := ioutil.TempDir(dir, prefix)
	if err != nil {
		return nil, err
	}

	conf, err := Setup(tempDir)
	if err != nil {
		return nil, err
	}

	return conf, nil
}
// Temporary setups a temporary jump configuration folder that can be
// used for integration testing. Needs a dir and prefix passed directly
// to ioutil.TempDir.
Temporary setups a temporary jump configuration folder that can be
used for integration testing. Needs a dir and prefix passed directly
to ioutil.TempDir.
// Temporary setups a temporary jump configuration folder that can be // used for integration testing . Needs a dir and prefix passed directly // to ioutil . TempDir .
func Temporary(dir, prefix string) (Config, error) {
	tempDir, err := ioutil.TempDir(dir, prefix)
	if err != nil {
		return nil, err
	}
	conf, err := Setup(tempDir)
	if err != nil {
		return nil, err
	}
	return conf, nil
}
func Temporary ( dir , prefix string ) ( Config , error ) { tempDir , err := ioutil . TempDir ( dir , prefix ) if err != nil { return nil , err } conf , err := Setup ( tempDir ) if err != nil { return nil , err } return conf , nil }
Temporary setups a temporary jump configuration folder that can be
used for integration testing.
Temporary setups a temporary jump configuration folder that can be used for integration testing .