Sha256: f5b0fbc59b42ca17d7151b9ec7c5cded13544e36a0698b9843c4da4e1234a3c2
Contents?: true
Size: 785 Bytes
Versions: 4
Compression:
Stored size: 785 Bytes
Contents
#!/usr/bin/env ruby require "thor" require "baleen" class BaleenCommand < Thor desc "cucumber", "Running cucumber features" option :image, :required => true option :work_dir, :default => "./" option :files, :default => "features" option :before_command, :default => nil option :host, :default => "127.0.0.1" option :port, :default => "5533" def cucumber client = Baleen::Client.new(options[:host], options[:port]) request = Baleen::Message::Request::Cucumber.new( image: options[:image], work_dir: options[:work_dir], files: options[:files], before_command: options[:before_command], ) job = Baleen::Job.new(client, request) job.start end end BaleenCommand.start
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
baleen-0.0.12 | bin/baleen |
baleen-0.0.11 | bin/baleen |
baleen-0.0.10 | bin/baleen |
baleen-0.0.9 | bin/baleen |