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.

``` xapirpc --help Minimal xapi xmlrpc CLI client CLI interface to interrogate an instance of XenServer via xmlrpc

USAGE: xapirpc [FLAGS] [OPTIONS] [ARGS]...

FLAGS: --compact Output the result as non-prettified json. -h, --help Prints help information -V, --version Prints version information

OPTIONS: --host XenServer host. Can be passed with the HOST env variable. [env:XAPIHOST: ] -p, --pass XenServer host user password. Can be passed with the XAPIPASSWORD env variable. [env:XAPIPASSWORD: ] -u, --user XenServer host user name. Can be passed with the XAPIUSER env variable. [env:XAPI_USER: ]

ARGS: Case sensitive value for the xapi class. Case sensitive value for the xapi method. ... Ordered list of arguments for the call (if any). Do not pass a session.

```

To try it, clone this repository and build with cargo build --release or install it using cargo install xapirpc --force.