()
| 351 | } |
| 352 | |
| 353 | func (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 |
no test coverage detected