Skip to content

Naomi-Dennis/greeting-cli-ruby-intro-000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greeting Cli

Goals

  1. A simple CLI lab that requires no logic, only interpolation.
  2. It demonstrates the structure of a CLI lab and having a bin use a method defined in a library.

Outline

  1. Describe Overview, building the first part of a complex military program. The first thing you need to do is ask the user for their name. After taking the user's name, the program should greet the user with "Hello, <user's name>. How are you doing?."

  2. Screenshots / video of working program.

  3. Structure of program. Walk user through what code goes where, the lib and the bin.

  4. Have them first build the greeting method and use the test suites to make that pass.

  5. They should then build the program in greet to load that file with require_relative.

  6. Greet should output a hello and ask their name.

  7. It should take input.

  8. They need to use that input in greet.

  9. Show them how to walk through the errors in the CLI spec.

Joshua Wargames clip. https://www.youtube.com/watch?v=7R0mD3uWk5c

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%