trabajo-afectivo/lib/tasks/zammad/package/list.rb

20 lines
425 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
require_dependency 'tasks/zammad/command.rb'
module Tasks
module Zammad
module Package
class List < Tasks::Zammad::Command
def self.task_handler
::Package.all.each do |package|
puts package.name.ljust(20) + package.vendor.ljust(20) + package.version
end
end
end
end
end
end