Sha256: f54cbb34113b8925f68e629944f431c174f8adfb4c6c6c6480c3ced67378352c

Contents?: true

Size: 913 Bytes

Versions: 2

Compression:

Stored size: 913 Bytes

Contents

require "mixlib/cli"
require_relative "rankum/runners/rankum_cli"

module Rankum
  class CLI
    include Mixlib::CLI

    option :metric,
      :short => "-m metric",
      :long  => "--metric metric",
      :default => "fcp",
      :description => "Metric used to compare search ranks"

    option :rank_reader,
      :short => "-r rank_reader",
      :long  => "--rank_reader rank_reader",
      :default => "RankFileReader",
      :description => "Strategy to to read your ranks"

    option :perfect_rank,
      :short => "-p perfect_rank_file_path",
      :long  => "--perfect_rank perfect_rank_file_path",
      :description => "Perfect Rank file (only valid for RankFileReader strategy)"

    option :actual_rank,
      :short => "-a actual rank_file_path",
      :long  => "--actual_rank actual_rank_file_path",
      :description => "Actual Rank file (only valid for RankFileReader strategy)"
  end
 end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rankum-1.1.0 lib/rankum.rb
rankum-1.0.0 lib/rankum.rb