Allow variable sample data size
This commit is contained in:
parent
f691962698
commit
ea8bce73ee
@ -5,7 +5,7 @@ sizes = ["S", "M", "L"]
|
||||
|
||||
date = Date.today
|
||||
|
||||
10_000_000.times do |i|
|
||||
(ARGV[0].to_i).times do |i|
|
||||
puts "#{(date + i).strftime("%Y-%m-%d")} #{sizes.sample} #{providers.sample}"
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user