Skip to content

given a choices.txt, in a known location, prompts user for answer and writes to answer.txt

License

Notifications You must be signed in to change notification settings

bcoe/terminal-quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Quiz

  1. npm i -g terminal-quiz.
  2. create a text file in ~/.quiz/choices.txt:
    • the first line is the question you would like answered.
    • each following line is one of the available answers.
  3. run terminal-quiz.
  4. the user's choice will be output to ~/.quiz/answer.txt.

Usage

To see configuration options, simply run:

terminal-quiz --help

License

ISC

About

given a choices.txt, in a known location, prompts user for answer and writes to answer.txt

Resources

License

Stars

Watchers

Forks

Packages

No packages published