Module: Addax

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

Defined Under Namespace

Modules: Commands Classes: Exec

Constant Summary collapse

USAGE =
<<END
Addax, a command line tool for connecting with the Addax Webservice.

Usage

  addax <Action>

Actions
          
  [list | l] <object_type>                - lists all available objects, which should be either 'oses|operating_systems', 'drivers', 'platforms'
  <object_type> <id>                      - displays the data associated with the object instance, e.g. 'addax driver 1'
  [fetch | f] <object_type> <id> <path>   - returns the file associated with a driver or a platform
  [generate | g] <id> <path>              - downloads the generated sources for the driver associated with <id> into <path>
  [create | c] <object_type> <param>=<value> [<param>=<value>]*
                                          - creates a new instance of the object type, with the list of parameters provided.
  [update | u] <object_type> <id> <param>=<value> [<param>=<value>]*
                                          - modifies the object identified by <id> with the list of parameters provided.
  [destroy | d] [-f] <object_type> <id>   - destroys the object identified by <id>. -f to destroy without asking for confirmation.

END
SERVER_URL =
'http://tima-sls.imag.fr/addax'