summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/lesana17
1 files changed, 9 insertions, 8 deletions
diff --git a/scripts/lesana b/scripts/lesana
index b8b9929..408aa2c 100755
--- a/scripts/lesana
+++ b/scripts/lesana
@@ -2,7 +2,7 @@
import argparse
-from lesana.command import New, Edit, Show, Index, Search, Init, Remove
+import lesana.command
class Lesana():
"""
@@ -10,13 +10,14 @@ class Lesana():
"""
commands = (
- ('new', New()),
- ('edit', Edit()),
- ('show', Show()),
- ('index', Index()),
- ('search', Search()),
- ('init', Init()),
- ('rm', Remove()),
+ ('new', lesana.command.New()),
+ ('edit', lesana.command.Edit()),
+ ('show', lesana.command.Show()),
+ ('index', lesana.command.Index()),
+ ('search', lesana.command.Search()),
+ ('export', lesana.command.Export()),
+ ('init', lesana.command.Init()),
+ ('rm', lesana.command.Remove()),
)
def _main(self):