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

Method runDevboxServicesScript

internal/devbox/services.go:272–275  ·  view source on GitHub ↗

runDevboxServicesScript invokes RunScript with the envOptions set to the appropriate defaults for the `devbox services` scenario.

(ctx context.Context, cmdArgs []string)

Source from the content-addressed store, hash-verified

270// runDevboxServicesScript invokes RunScript with the envOptions set to the appropriate
271// defaults for the `devbox services` scenario.
272func (d *Devbox) runDevboxServicesScript(ctx context.Context, cmdArgs []string) error {
273 cmdArgs = append([]string{"services"}, cmdArgs...)
274 return d.RunScript(ctx, devopt.EnvOptions{}, "devbox", cmdArgs)
275}
276
277func (d *Devbox) ShowProcessComposePort(ctx context.Context, writer io.Writer) error {
278 port, err := services.GetProcessManagerPort(d.projectDir)

Callers 5

StartServicesMethod · 0.95
StopServicesMethod · 0.95
ListServicesMethod · 0.95
RestartServicesMethod · 0.95
StartProcessManagerMethod · 0.95

Calls 1

RunScriptMethod · 0.95

Tested by

no test coverage detected