INNER CODE UNIT · Go
_
ktr0731/evans · app/app.go:73
_ = cmd.Help() // Help never return errors.
}
func printVersion(w io.Writer) {
fmt.Fprintf(w, "%s %s\n", meta.AppName, meta.Version.String())
}
// mergedConfig represents the conclusive config. Common config items are stored to *config.Config.
// Flags that can be specified by command line only are represented as fields.
type mergedConfig struct {
*config.Config
// The RPC name that want to call.
call string
// The input that is used for CLI mode. Empty if the input is stdin.
file string
// Explicit using CLI mode.
cli bool