Sha256: ca47dd59ada133928d25ec8065552de096cae2e0da72f21e1663e01648368627

Contents?: true

Size: 569 Bytes

Versions: 8

Compression:

Stored size: 569 Bytes

Contents

# frozen_string_literal: true

#
# A set of utils to manage Decidim Organizations.
#
namespace :cdtb do
  require "decidim/cdtb/tasks_utils"
  include ::Decidim::Cdtb::TasksUtils

  desc <<~EODESC
    Finds information about the Organization, or Organizations, searching by the :host_term argument ignorecase.
    Set :full (second param) to `true` for full information
  EODESC
  task :org_by_host_like, %i[host_term full] => :environment do |_task, args|
    task= Decidim::Cdtb::Multitenants::OrgByHostLike.new(args.host_term, args.full)
    task.execute!
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-cdtb-0.3.0 lib/tasks/multitenants.rake
decidim-cdtb-0.2.1 lib/tasks/multitenants.rake
decidim-cdtb-0.1.8 lib/tasks/multitenants.rake
decidim-cdtb-0.1.7 lib/tasks/multitenants.rake
decidim-cdtb-0.1.6 lib/tasks/multitenants.rake
decidim-cdtb-0.1.4 lib/tasks/multitenants.rake
decidim-cdtb-0.1.3 lib/tasks/multitenants.rake
decidim-cdtb-0.1.2 lib/tasks/multitenants.rake