Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / app / views / application / _show_advanced_cli_example.html.erb
1 <%# Copyright (C) The Arvados Authors. All rights reserved.
2
3 SPDX-License-Identifier: AGPL-3.0 %>
4
5 An example arv command to get a <%= object.class.to_s.underscore %> using its uuid:
6 <pre>
7 arv <%= object.class.to_s.underscore %> get \
8  --uuid <%= object.uuid %>
9 </pre>
10
11 An example arv command to update the "<%= object.attributes.keys[-3] %>" attribute for the current <%= object.class.to_s.underscore %>:
12 <pre>
13 arv <%= object.class.to_s.underscore %> update \
14  --uuid <%= object.uuid %> \
15  --<%= object.class.to_s.underscore.gsub '_', '-' %> '<%= JSON.generate({object.attributes.keys[-3] => object.attributes.values[-3]}).gsub("'","'\''") %>'
16 </pre>