Commit 44811b80 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Merge pull request #90 from mruwek/column-ui-launch

Add `topydo columns` subcommand to launch column-ui
parents 7eca1de9 0b2ee2cc
...@@ -45,6 +45,12 @@ def main(): ...@@ -45,6 +45,12 @@ def main():
PromptApplication().run() PromptApplication().run()
except ImportError: except ImportError:
error("You have to install prompt-toolkit to run prompt mode.") 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: else:
CLIApplication().run() CLIApplication().run()
except IndexError: 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