Node-Virtualization / node-virtualbox

A JavaScript Library for Interacting with VirtualBox
MIT License
259 stars 68 forks source link

get value of certain property of showvminfo command #72

Open acherkashin opened 4 years ago

acherkashin commented 4 years ago

Guys, thank you for your work. I'm working on VirtualBox extension for VSCode and I want to show OS name next to VM name like on SS below.

image

But instead of just "windows" I want to show "Windows 10 (64-bit)", instead of "mac" - "Mac OS X (64-bit)"

For this purpose, I need method to perform this command and get all properties as object.

VBoxManage.exe showvminfo -machinereadable "Mac OS machine"

I mean next structure should be converted to next JS object

name="Mac OS machine"
groups="/"
ostype="Mac OS X (64-bit)"
...
{
    name: "Mac OS machine",
    groups: "/",
    ostype: "Mac OS X (64-bit)",
    ...
}

I would appreciate if somebody take care about it.

colonelpopcorn commented 4 years ago

This would require a breaking API change. We're going to gradually introduce features like this once we can get a good release cadence going.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not received any attention in 90 days. It will be closed in 14 days if no further activity occurs. Thank you for your contribution! (I'm a bot.)