diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-08-04 19:47:28 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-08-04 19:47:28 +0200 |
commit | 088e4cc92e677e03390e7d84a6e8e18c1ef82c3b (patch) | |
tree | f1725c929c1babb71e88f9a8f774e74d65c7c3f4 /scripts | |
parent | b826943adfb9a885ddbe412c8045fe2d3caa7d51 (diff) |
Use the hazwaz facilities to test the command line
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/lesana | 21 |
1 files changed, 1 insertions, 20 deletions
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() |