Sha256: aa59ddf092862a23c358a18d17188365e4cbc27da2b1327d5f70fb8c25c1ceee

Contents?: true

Size: 379 Bytes

Versions: 5

Compression:

Stored size: 379 Bytes

Contents

require "thor"

module CucumberBoosterConfig
  class CLI < Thor

    desc "inject PATH", "inject Semaphore's Cucumber configuration in project PATH"
    option :dry_run, :type => :boolean
    def inject(path)
      puts "Running in #{path}"

      report_path = "cucumber_report.json"

      Injection.new(path, report_path, :dry_run => options[:dry_run]).run
    end

  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
semaphore_cucumber_booster_config-1.4.2 lib/cucumber_booster_config/cli.rb
treye-semaphore_cucumber_booster_config-1.4.2 lib/cucumber_booster_config/cli.rb
semaphore_cucumber_booster_config-1.4.1 lib/cucumber_booster_config/cli.rb
semaphore_cucumber_booster_config-1.4.0 lib/cucumber_booster_config/cli.rb
semaphore_cucumber_booster_config-1.3.0 lib/cucumber_booster_config/cli.rb