Sha256: 83ce9c5646b829019fe3c5594d115cfa3d3c6d348faada53ce6234aeebd8eb55
Contents?: true
Size: 490 Bytes
Versions: 30
Compression:
Stored size: 490 Bytes
Contents
class ZapTasks < Thor include Rails.application.config.dradis.thor_helper_module namespace "dradis:plugins:zap" desc "upload FILE", "upload ZAP XML results" def upload(file_path) require 'config/environment' unless File.exists?(file_path) $stderr.puts "** the file [#{file_path}] does not exist" exit -1 end detect_and_set_project_scope importer = Dradis::Plugins::Zap::Importer.new(task_options) importer.import(file: file_path) end end
Version data entries
30 entries across 30 versions & 1 rubygems