lib/dri/commands/fetch.rb in dri-0.2.0 vs lib/dri/commands/fetch.rb in dri-0.3.0
- old
+ new
@@ -48,9 +48,11 @@
desc 'failures', 'Display failures opened today'
method_option :help, aliases: '-h', type: :boolean,
desc: 'Display usage information'
method_option :urgent, type: :boolean,
desc: 'Shows failures that quickly escalated'
+ method_option :sort_by, type: :string,
+ desc: 'Shows failures in specified order'
def failures(*)
if options[:help]
invoke :help, ['failures']
else
require_relative 'fetch/failures'