MCPcopy
hub / github.com/urfave/cli / envFormat

Function envFormat

docs.go:55–60  ·  view source on GitHub ↗
(envVars []string, prefix, sep, suffix string)

Source from the content-addressed store, hash-verified

53}
54
55func envFormat(envVars []string, prefix, sep, suffix string) string {
56 if len(envVars) > 0 {
57 return fmt.Sprintf(" [%s%s%s]", prefix, strings.Join(envVars, sep), suffix)
58 }
59 return ""
60}
61
62func defaultEnvFormat(envVars []string) string {
63 return envFormat(envVars, "$", ", $", "")

Callers 2

defaultEnvFormatFunction · 0.85
withEnvHintFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected