class ForemanAdmin::TaskExportCommand

Public Instance Methods

external_command() click to toggle source
# File lib/foreman_admin/task_export.rb, line 11
def external_command
  args = []
  args << 'tasks=all' if all?
  args << "export=#{export_file}" if export_file

  args.unshift(external_invocation)
  args.join(' ')
end