3609: Added documentation page. Added to "arv" frontend command. Bug fix to
[arvados.git] / sdk / cli / bin / arv
index 9b486d2d798a14b14491b6ff69aba75c6aaf34c1..59bdfae81ae59024ba174c03600703f5e92ade99 100755 (executable)
@@ -112,7 +112,7 @@ def init_config
   end
 end
 
-subcommands = %w(keep pipeline tag ws edit)
+subcommands = %w(keep pipeline run tag ws edit)
 
 def check_subcommands client, arvados, subcommand, global_opts, remaining_opts
   case subcommand
@@ -142,6 +142,8 @@ def check_subcommands client, arvados, subcommand, global_opts, remaining_opts
       puts "Available methods: run"
     end
     abort
+  when 'run'
+    exec `which arv-run`.strip, *remaining_opts
   when 'tag'
     exec `which arv-tag`.strip, *remaining_opts
   when 'ws'