Sha256: d546f63df15c58b4219af6680ebcc15c461da1aac3864ac698530c4853e86f77

Contents?: true

Size: 827 Bytes

Versions: 2

Compression:

Stored size: 827 Bytes

Contents

=begin
    Copyright 2010-2017 Sarosys LLC <http://www.sarosys.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

require_relative '../../../framework/option_parser'

module Arachni
module UI::CLI
module RPC
module Client
class Local

# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
class OptionParser < UI::CLI::Framework::OptionParser

    def distribution
        separator 'Distribution'

        on( '--instance-spawns SPAWNS', Integer,
            'How many slaves to spawn for a high-performance mult-Instance scan.'
        ) do |spawns|
            options.spawns = spawns
        end
    end

end
end
end
end
end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arachni-1.5.1 ui/cli/rpc/client/local/option_parser.rb
arachni-1.5 ui/cli/rpc/client/local/option_parser.rb