xapirpc-0.5.0 is not a library.
Visit the last successful build:
xapirpc-0.8.2
Minimal CLI client for xapi rpc calls.
The ouptu is in json, so can be piped to jq
or other json tools for further filtering.
For example you can get the uuid
and name_label
of all the VMs with:
|
There are a few optional flags available to customise the usage:
<class> Case
<method> Case
<args>... )
The host
, user
and pass
value can be manually configured by creating
$HOME/.config/xapirpc/config.prefs.json
and adding them in a json object. E.g.
}
To try it, clone this repository and build with cargo build --release
or install it using cargo install xapirpc --force
.
Acknowledgements
Thanks:
- @gaborigloi for porting the library to
quicli