lib/benchmark/http/command.rb in benchmark-http-0.2.0 vs lib/benchmark/http/command.rb in benchmark-http-0.3.0
- old
+ new
@@ -17,10 +17,12 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
require_relative 'command/concurrency'
+require_relative 'command/spider'
+
require_relative 'version'
require 'samovar'
module Benchmark
module HTTP
@@ -37,10 +39,11 @@
option '-h/--help', "Print out help information."
option '-v/--version', "Print out the application version."
end
nested '<command>',
- 'concurrency' => Concurrency
+ 'concurrency' => Concurrency,
+ 'spider' => Spider
def verbose?
@options[:logging] == :verbose
end