diff options
Diffstat (limited to 'tool/redmine-backporter.rb')
-rwxr-xr-x | tool/redmine-backporter.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index 13a9ec8851..c50d2a379e 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -486,6 +486,8 @@ eom Net::HTTP.start(uri.host, uri.port, http_options) do |http| show_last_journal(http, uri) end + when /\A!\s*(.*)\s*\z/ + system($1) when '' when nil, 'quit', 'exit' exit @@ -497,6 +499,7 @@ eom puts 'done [TICKET] [-- NOTE]'.color(bold: true) + ' set Backport field of the TICKET to DONE' puts 'close [TICKET] '.color(bold: true) + ' close the TICKET' puts 'last [TICKET] '.color(bold: true) + ' show the last journal of the TICKET' + puts '! COMMAND '.color(bold: true) + ' execute COMMAND' else puts "error #{l.inspect}" end |