mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 16:27:33 -10:00
devvm limactl ARGS... runs limactl in devvm's place (exec), with LIMA_HOME set to devvm's Lima home whatever the environment says, from devvm's data folder (as devvm's own limactl commands run, away from lima.REJECTED.yaml in a project folder). Every argument passes through, flags and --help included; input, terminal and exit code are limactl's. The code lives in the lima package (lima.Limactl); the cli command is a thin wrapper, like _qemu. - Messages: limactl_failed (new); lima_missing when limactl isn't on PATH; script_failed now suggests devvm limactl shell --start and drops its lima_home field. - Tests: testdata/script/limactl.txtar (Lima home, LIMA_HOME ignored, data folder as cwd, arguments and --help passed, stdin, exit code, default home, no Lima); build.txtar, build tests and e2e updated for script_failed; e2e images checks devvm limactl list and its exit code. - Docs: lima.md "Running limactl", commands.md row, images.md's failed build hint; CLI reference regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>