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

Method ListScripts

internal/devbox/devbox.go:353–365  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

351}
352
353func (d *Devbox) ListScripts() []string {
354 scripts := d.cfg.Scripts()
355 keys := make([]string, len(scripts))
356 i := 0
357 for k := range scripts {
358 keys[i] = k
359 i++
360 }
361
362 slices.Sort(keys)
363
364 return keys
365}
366
367// EnvExports returns a string of the env-vars that would need to be applied
368// to define a Devbox environment. The string is of the form `export KEY=VALUE` for each

Callers 3

genAliasCmdFunction · 0.80
listScriptsFunction · 0.80
runScriptCmdFunction · 0.80

Calls 1

ScriptsMethod · 0.45

Tested by

no test coverage detected