From 088e4cc92e677e03390e7d84a6e8e18c1ef82c3b Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Thu, 4 Aug 2022 19:47:28 +0200 Subject: Use the hazwaz facilities to test the command line --- scripts/lesana | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'scripts') diff --git a/scripts/lesana b/scripts/lesana index 5c84d56..c2d0eec 100755 --- a/scripts/lesana +++ b/scripts/lesana @@ -9,25 +9,6 @@ import hazwaz import lesana.command -class Lesana(hazwaz.MainCommand): - """ - Manage collections - """ - - commands = ( - lesana.command.New(), - lesana.command.Edit(), - lesana.command.Show(), - lesana.command.Index(), - lesana.command.Search(), - lesana.command.GetValues(), - lesana.command.Update(), - lesana.command.Export(), - lesana.command.Init(), - lesana.command.Remove(), - ) - - if __name__ == "__main__": # setup logging for lesana cli @@ -38,4 +19,4 @@ if __name__ == "__main__": logger.addHandler(ch) logger.setLevel(logging.INFO) - Lesana().run() + lesana.command.Lesana().run() -- cgit v1.2.3