github.com/sandwich-go/boost@v1.3.29/xproc/process_option.go (about)

     1  package xproc
     2  
     3  import (
     4  	"io"
     5  	"os"
     6  )
     7  
     8  //go:generate optiongen --option_return_previous=false
     9  func ProcessOptionsOptionDeclareWithDefault() interface{} {
    10  	return map[string]interface{}{
    11  		"Args":       []string{},
    12  		"Stdin":      io.Reader(os.Stdin),
    13  		"Stdout":     io.Writer(os.Stdout),
    14  		"Stderr":     io.Writer(os.Stderr),
    15  		"WorkingDir": "",
    16  		"Env":        []string{},
    17  	}
    18  }