Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: Hello Name - ARGV

  • Create a file called hello_name_argv.cr that expects a name on the command line:
  • crystal hello_name_argv.cr FooBar
  • print "Hello FooBar" using whatever name the user provided.