8784: Fix test for latest firefox.
[arvados.git] / apps / workbench / app / views / application / _show_advanced_cli_example.html.erb
1 An example arv command to get a <%= object.class.to_s.underscore %> using its uuid:
2 <pre>
3 arv <%= object.class.to_s.underscore %> get \
4  --uuid <%= object.uuid %>
5 </pre>
6
7 An example arv command to update the "<%= object.attributes.keys[-3] %>" attribute for the current <%= object.class.to_s.underscore %>:
8 <pre>
9 arv <%= object.class.to_s.underscore %> update \
10  --uuid <%= object.uuid %> \
11  --<%= object.class.to_s.underscore.gsub '_', '-' %> '<%= JSON.generate({object.attributes.keys[-3] => object.attributes.values[-3]}).gsub("'","'\''") %>'
12 </pre>