diff --git a/xo-cli.md b/xo-cli.md index 8c088c58c..d81607cd7 100644 --- a/xo-cli.md +++ b/xo-cli.md @@ -1,3 +1,23 @@ # xo-cli -After [a request from someone on our Github repositoryy](https://github.com/vatesfr/xo-server/issues/23), we decided to add the possibility to do some actions with CLI. Just few hours after the request, [we created XO-cli](https://github.com/vatesfr/xo-cli). It's a real example of the Xen Orchestra modularity, and how we can be flexible. +After [a request from someone on our Github repository](https://github.com/vatesfr/xo-server/issues/23), we decided to add the possibility to do some actions with CLI. Just few hours after the request, [we created XO-cli](https://github.com/vatesfr/xo-cli). It's a real example of the Xen Orchestra modularity, and how we can be flexible. + +## Usage + +``` + xo-cli --register [] [] [] + Registers the XO instance to use. + + xo-cli --list-commands [--json] + Returns the list of available commands on the current XO instance. + + xo-cli --list-objects [=]... + Returns a list of XO objects. + + xo-cli [=]... + Executes a command on the current XO instance. + +``` + +## Examples +