MCPcopy Index your code
hub / github.com/jetify-com/devbox / WithEnvVariables

Function WithEnvVariables

internal/devbox/shell.go:188–192  ·  view source on GitHub ↗

TODO: Consider removing this once plugins add env vars directly to binaries via wrapper scripts.

(envVariables map[string]string)

Source from the content-addressed store, hash-verified

186
187// TODO: Consider removing this once plugins add env vars directly to binaries via wrapper scripts.
188func WithEnvVariables(envVariables map[string]string) ShellOption {
189 return func(s *DevboxShell) {
190 s.env = envVariables
191 }
192}
193
194func WithProjectDir(projectDir string) ShellOption {
195 return func(s *DevboxShell) {

Callers 1

ShellMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected