#!/usr/bin/env ruby # frozen_string_literal: true require 'bundler/setup' require 'date' providers = ["MR", "LP"] sizes = ["S", "M", "L"] date = Date.today day_repeat_count = ARGV[1].to_i (ARGV[0].to_i).times do |i| puts "#{(date + (i / day_repeat_count)).strftime("%Y-%m-%d")} #{sizes.sample} #{providers.sample}" end