Sha256: 3da39dbd7ac9afd1c3d84b6442008b7f749d44fd0ddd023b08b4e7d3d1b8904c

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

# frozen_string_literal: true

namespace :dirty_seed do
  desc 'Explaining what the task does'
  task seed: :environment do
    count = ENV['COUNT']&.to_i || 10
    DirtySeed::DataModel.instance.seed(count, verbose: true)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dirty_seed-0.2.1 lib/tasks/dirty_seed_tasks.rake
dirty_seed-0.2.0 lib/tasks/dirty_seed_tasks.rake