8 _In order to use the @arv@ command, make sure that you have a "working environment.":{{site.baseurl}}/user/getting_started/check-environment.html_
12 @arv [global_options] resource_type resource_method [method_parameters]@
16 - @--format=json@ := Output response as JSON. This is the default format.
18 - @--format=yaml@ := Output response as YAML
20 - @--format=uuid@ := Output only the UUIDs of object(s) in the API response, one per line.
23 h3. Resource types and methods
25 Get list of resource types
28 Get list of resource methods for the "user" resource type
34 Get record for current user
37 Get entire record for some specific user
38 @arv user get --uuid 6dnxa-tpzed-iimd25zhzh84gbk@
41 @arv user update --uuid 6dnxa-tpzed-iimd25zhzh84gbk --first-name "Bob"@
47 @arv group delete --uuid 6dnxa-j7d0g-iw7i6n43d37jtog@
52 Most @arv@ resources accept the following commands:
63 Arguments accepted by the @list@ subcommand include:
66 --limit, -l <i>: Maximum number of resources to return.
67 --offset, -o <i>: Number of users to skip before first returned record.
68 --filters, -f <s>: Conditions for filtering users.
69 --order, -r <s>: Order in which to return matching users.
70 --select, -s <s>: Select which fields to return
71 --distinct, -d: Return each distinct object
74 The @--filters@ option takes a string describing a JSON list of filters on which the returned resources should be returned. Each filter is a three-element list of _[field, operator, value]_, where the _operator_ may be one of @=@, @<@, @<=@, @>@, @>=@, @!=@, @like@, or @ilike@.
78 @arv collection list --filters '[["name", "=", "PGP VAR inputs"], ["created_at", ">=", "2014-10-01"]]'@
80 will return a list of all collections visible to the current user which are named "PGP VAR inputs" and were created on or after October 1, 2014.