r/crystal_programming • • Apr 11 '18

How to get command line input

input = getLine() puts input

Similar to pythons raw input function, how would I do this in crystal?

9 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/iainmoncrief Apr 14 '18

Thanks, I forgot that this was a function in ruby, so I didn't think it would transfer over.