X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b40d2110e1fe102ea687252cf6b0f48a6397f11e..0eb72b526bf8bbb011551ecf019f604e17a534f1:/doc/sdk/cli/subcommands.html.textile.liquid diff --git a/doc/sdk/cli/subcommands.html.textile.liquid b/doc/sdk/cli/subcommands.html.textile.liquid index 018213c1a1..f9652ef386 100644 --- a/doc/sdk/cli/subcommands.html.textile.liquid +++ b/doc/sdk/cli/subcommands.html.textile.liquid @@ -5,6 +5,11 @@ navmenu: CLI title: "arv subcommands" ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} _In order to use the @arv@ command, make sure that you have a "working environment.":{{site.baseurl}}/user/getting_started/check-environment.html_ @@ -21,6 +26,20 @@ Options: +h3(#arv-get). arv get + +@arv get@ can be used to get a textual representation of Arvados objects from the command line. The output can be limited to a subset of the object's fields. This command can be used with only the knowledge of an object's UUID. + + +
+$ arv get --help
+Usage: arv [--format json|yaml] get [uuid] [fields...]
+
+Fetch the specified Arvados object, select the specified fields,
+and print a text representation.
+
+
+ h3(#arv-edit). arv edit @arv edit@ can be used to edit Arvados objects from the command line. Arv edit opens up the editor of your choice (set the EDITOR environment variable) with the json or yaml description of the object. Saving the file will update the Arvados object on the API server, if it passes validation. @@ -157,7 +176,7 @@ $ arv keep --help Usage: arv keep [method] [--parameters] Use 'arv keep [method] --help' to get more information about specific methods. -Available methods: ls, get, put, less, check, docker +Available methods: ls, get, put, docker