Sha256: e2debfbca24185d15292d6a1e46c518c357d90691440b5c650adbf78be4e6eb1

Contents?: true

Size: 582 Bytes

Versions: 17

Compression:

Stored size: 582 Bytes

Contents

class Eco::API::UseCases::Default::People::Treat::SupersCyclicIdentify
  class Cli < Eco::API::UseCases::Cli
    str = "Provides a set of tools to analyse a set of people (i.e. detect duplicates)"
    desc str

    # callback do |_people, _session, options|
    #   options.deep_merge!(output: {file: "cyclic_supers.txt"}) unless options.dig(:output, :file)
    # end

    add_option("-to", "Specify the output file") do |options|
      file = SCR.get_file("-to", required: true, should_exist: false)
      options.deep_merge!(output: {file: file})
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
eco-helpers-3.0.21 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.20 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.19 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.18 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.17 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.16 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.15 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.14 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.13 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.12 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.11 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.10 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.9 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.8 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.7 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.6 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb
eco-helpers-3.0.5 lib/eco/api/usecases/default/people/treat/cli/supers_cyclic_identify_cli.rb