lib/dri/commands/fetch.rb in dri-0.5.1 vs lib/dri/commands/fetch.rb in dri-0.6.0
- old
+ new
@@ -80,8 +80,20 @@
return invoke :help, %w[quarantines] if options[:help]
require_relative 'fetch/quarantines'
Dri::Commands::Fetch::Quarantines.new(options, search: '[DEQUARANTINE]').execute
end
+
+ desc 'pipelines', 'Display status of pipelines'
+ method_option :help, aliases: '-h', type: :boolean,
+ desc: 'Display pipelines usage information'
+ method_option :full_runs_only, type: :boolean,
+ desc: 'Displays full pipeline runs only'
+ def pipelines(*)
+ return invoke :help, %w[pipelines] if options[:help]
+
+ require_relative 'fetch/pipelines'
+ Dri::Commands::Fetch::Pipelines.new(options).execute
+ end
end
end
end