Merge branch 'master' into 3198-writable-fuse
[arvados.git] / apps / workbench / app / views / application / _show_advanced_cli_example.html.erb
index 45168762fefecf6059cfdd33b8b798cbe27a82c2..cb29b664c017845fd4a61eefda7079ba01cec7f8 100644 (file)
@@ -1,7 +1,11 @@
+An example arv command to get a <%= object.class.to_s.underscore %> using its uuid:
 <pre>
-arv --pretty <%= object.class.to_s.underscore %> get \
+arv <%= object.class.to_s.underscore %> get \
  --uuid <%= object.uuid %>
+</pre>
 
+An example arv command to update the "<%= object.attributes.keys[-3] %>" attribute for the current <%= object.class.to_s.underscore %>:
+<pre>
 arv <%= object.class.to_s.underscore %> update \
  --uuid <%= object.uuid %> \
  --<%= object.class.to_s.underscore.gsub '_', '-' %> '<%= JSON.generate({object.attributes.keys[-3] => object.attributes.values[-3]}).gsub("'","'\''") %>'