Module: Addax

Defined in:
lib/addax.rb,
lib/addax/commands.rb

Defined Under Namespace

Modules: Commands Classes: Exec

Constant Summary collapse

USAGE =
"Addax, a command line tool for connecting with the Addax Webservice.\n\nUsage\n\n  addax <Action>\n\nActions\n          \n  [list | l] <object_type>                - lists all available objects, which should be either 'oses|operating_systems', 'drivers', 'platforms'\n  <object_type> <id>                      - displays the data associated with the object instance, e.g. 'addax driver 1'\n  [fetch | f] <object_type> <id> <path>   - returns the file associated with a driver or a platform\n  [generate | g] <id> <path>              - downloads the generated sources for the driver associated with <id> into <path>\n  [create | c] <object_type> <param>=<value> [<param>=<value>]*\n                                          - creates a new instance of the object type, with the list of parameters provided.\n  [update | u] <object_type> <id> <param>=<value> [<param>=<value>]*\n                                          - modifies the object identified by <id> with the list of parameters provided.\n  [destroy | d] [-f] <object_type> <id>   - destroys the object identified by <id>. -f to destroy without asking for confirmation.\n\n"
SERVER_URL =
'http://tima-sls.imag.fr/addax'