cli: Teach quizzer.cli.main() the --ui option
authorW. Trevor King <wking@tremily.us>
Wed, 13 Mar 2013 21:23:26 +0000 (17:23 -0400)
committerW. Trevor King <wking@tremily.us>
Wed, 13 Mar 2013 21:41:23 +0000 (17:41 -0400)
commitcfb64c0e3c4bfb53190597d3862964da91e01693
tree949ad9ecb250c6d47687fe4f784bf0719486f77b
parent36e5f7da69b2f0974d94d9ae29cf29b5f9cf8f93
cli: Teach quizzer.cli.main() the --ui option

This uses the new quizzer.ui.INTERFACES and quizzer.ui.get_ui() to
select from among the available interfaces (currently just the command
line interface).
quizzer/cli.py
quizzer/ui/__init__.py