Commit 0b2ee2cc authored by Jacek Sowiński's avatar Jacek Sowiński

Add `topydo columns` subcmd to launch column-ui

parent 78850e9f
......@@ -45,6 +45,12 @@ def main():
PromptApplication().run()
except ImportError:
error("You have to install prompt-toolkit to run prompt mode.")
elif args[0] == 'columns':
try:
from topydo.ui.Main import UIApplication
UIApplication().run()
except ImportError:
error("You have to install urwid to run column mode.")
else:
CLIApplication().run()
except IndexError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment