Skip to content

Commit 26a6177

Browse files
committed
Add how to generate output file to context help
1 parent 0fb9696 commit 26a6177

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

random_csv.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ def generate_output
2020
puts ''
2121
puts 'Example:'
2222
puts "ruby random_csv.rb #{Date.today.year} 'en' 'Hotline' 10 20\n\n"
23+
puts "To generate a file use the > operator\n\n"
24+
puts 'Example:'
25+
puts "ruby random_csv.rb #{Date.today.year} 'en' 'Hotline' 10 20 > 'output_files/Hotline-#{Date.today.year}.csv' \n\n"
2326
exit
2427
end
25-
28+
2629
OutputGenerator.new(
2730
region: region,
2831
start_date: start_date,

0 commit comments

Comments
 (0)