Install ensures that all the packages in the config are installed but does not run init hooks. It is used to power devbox install cli command.
(ctx context.Context)
| 344 | // Install ensures that all the packages in the config are installed |
| 345 | // but does not run init hooks. It is used to power devbox install cli command. |
| 346 | func (d *Devbox) Install(ctx context.Context) error { |
| 347 | ctx, task := trace.NewTask(ctx, "devboxInstall") |
| 348 | defer task.End() |
| 349 | |
| 350 | return d.ensureStateIsUpToDate(ctx, ensure) |
| 351 | } |
| 352 | |
| 353 | func (d *Devbox) ListScripts() []string { |
| 354 | scripts := d.cfg.Scripts() |
no test coverage detected