lib/starships_cli/cli.rb
# based on user selection, either show a list of starships, 
# give them an error message 
# exit 
based on user selection, either show a list of starships,
give them an error message
exit
based on user selection either show a list of starships give them an error message exit
def menu 
        selection = user_input 
        if selection == 'y' 
            starships_list
            menu 
        elsif selection == 'exit'
            goodbye
        else 
            invalid
        end 
    end
def menu selection = user_input if selection == 'y' starships_list menu elsif selection == 'exit' goodbye else invalid end end
based on user selection, either show a list of starships,
give them an error message
exit
based on user selection either show a list of starships give them an error message exit