aboutsummaryrefslogtreecommitdiff
path: root/wikijscmd/__init__.py
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2021-09-27 22:02:49 -0500
committerMark Powers <mark@marks.kitchen>2021-09-27 22:02:49 -0500
commit4e4b0997a2172e00c8a46acb6889fe2c8c939a09 (patch)
tree8ccc07bff1ae7f98a34d6f18d47b3595ebc4712b /wikijscmd/__init__.py
parent4493e31a1afaf49187fc9a151982279d83b71f65 (diff)
Add packaging tooling
Diffstat (limited to 'wikijscmd/__init__.py')
-rw-r--r--wikijscmd/__init__.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/wikijscmd/__init__.py b/wikijscmd/__init__.py
new file mode 100644
index 0000000..8f45ae2
--- /dev/null
+++ b/wikijscmd/__init__.py
@@ -0,0 +1,11 @@
+from wikijscmd import cli
+from wikijscmd import ncurses
+
+def main():
+ cli.cli()
+
+def tui():
+ try:
+ ncurses.wrapper(m)
+ except Exception as e:
+ raise e