The xapi command-line interface