Sha256: f096e919f03279ae699b7f75092a26ebbda1212320aff214ca344b7adefe55cf

Contents?: true

Size: 436 Bytes

Versions: 17

Compression:

Stored size: 436 Bytes

Contents

class Eco::API::UseCases::Default::Locations::CsvToTree
  # Class to define the CLI integration of a usecase anywhere it suits.
  class Cli < Eco::API::UseCases::Cli
    str  = "Creates a JSON file with the tagtree from a CSV file"
    desc str

    callback do |_sess, options, _case|
      file = SCR.get_file(cli_name, required: true, should_exist: true)
      options.deep_merge!(source: {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/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.20 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.19 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.18 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.17 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.16 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.15 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.14 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.13 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.12 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.11 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.10 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.9 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.8 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.7 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.6 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb
eco-helpers-3.0.5 lib/eco/api/usecases/default/locations/cli/csv_to_tree_cli.rb