2022-01-01 13:38:12 +00:00
|
|
|
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
|
2021-06-01 12:20:20 +00:00
|
|
|
|
2021-05-31 13:51:29 +00:00
|
|
|
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
|