lima-vm / lima-vm/lima

limactl diff command

Open
#4,580 8 comments 0 reactions 0 assignees View on GitHub
area/cli enhancement
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

When managing Lima instances declaratively (using the template file or user-provided config file) or auditing VMs created via --set, users might need to verify how the running state differs from a reference configuration or template.

Currently, there is no easy way to perform this comparison. A simple diff against the running config (inspected via limactl list --json) is insufficient because the running configuration is fully expanded (including defaults and base templates), while local templates are concise.

This limactl diff command would allow users to compare the configuration of a running Lima instance against a local YAML configuration file or template.

Proposed Syntax:

```
limactl diff
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.