Add tab completion for rename_job

bug/bundler_fix
William Vu 2015-02-24 04:24:54 -06:00
parent 500b6229be
commit 285c138f80
1 changed files with 12 additions and 0 deletions

View File

@ -813,6 +813,18 @@ class Core
true
end
#
# Tab completion for the rename_job command
#
# @param str [String] the string currently being typed before tab was hit
# @param words [Array<String>] the previously completed words on the command line. words is always
# at least 1 when tab completion has reached this stage since the command itself has been completed
def cmd_rename_job_tabs(str, words)
return [] if words.length > 1
framework.jobs.keys
end
def cmd_jobs_help
print_line "Usage: jobs [options]"
print_line