resize.oneimage.diff
/usr/bin/oneimage 2013-12-10 14:07:22.458999932 +1200 | ||
---|---|---|
299 | 299 |
end |
300 | 300 |
end |
301 | 301 | |
302 |
resize_desc = <<-EOT.unindent |
|
303 |
Resize the Image |
|
304 |
EOT |
|
305 | ||
306 |
command :resize, resize_desc, :imageid, :size do |
|
307 |
helper.perform_action(args[0],options,"resized") do |o| |
|
308 |
o.resize(args[1]) |
|
309 |
end |
|
310 |
end |
|
311 | ||
302 | 312 |
list_desc = <<-EOT.unindent |
303 | 313 |
Lists Images in the pool |
304 | 314 |
EOT |