banger/internal
Thales Maciel 9f09b0d25c
Show vm create defaults in CLI help
Expose the static vm create CPU, memory, system overlay, and work disk defaults at the Cobra flag declaration layer so banger vm create --help shows the values users get by default.

Keep the daemon as the fallback source of truth by only sending those fields in VMCreateParams when the user actually changes the flags. This preserves existing RPC behavior for omitted values while improving the CLI UX.

Add CLI coverage for displayed defaults and for unchanged versus changed flag propagation. Verified with GOCACHE=/tmp/banger-gocache go test ./... and go run ./cmd/banger vm create --help.
2026-03-20 17:40:52 -03:00
..
api Refine vm ports output 2026-03-19 18:21:04 -03:00
cli Show vm create defaults in CLI help 2026-03-20 17:40:52 -03:00
config Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
daemon Refine vm ports output 2026-03-19 18:21:04 -03:00
firecracker Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
guest Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
guestconfig Refactor VM lifecycle around capabilities 2026-03-18 19:28:26 -03:00
hostnat Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
model Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
paths Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
policy Add vsock-backed VM port inspection 2026-03-19 15:52:11 -03:00
rpc Propagate RPC cancellation to daemon requests 2026-03-16 18:28:33 -03:00
runtimebundle Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
store Speed up VM create with work seeds 2026-03-18 21:22:12 -03:00
system Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
vmdns Replace mapdns with daemon DNS 2026-03-17 15:49:35 -03:00
vsockagent Add vsock-backed VM port inspection 2026-03-19 15:52:11 -03:00