Skip to content

Commit

Permalink
📦✨ feat: Implement main execution module for bibloclean
Browse files Browse the repository at this point in the history
This commit adds the main execution module for the bibloclean library. The module imports and runs the `limpiar_koha` function when the script is executed as the main program. Also, it exports the `limpiar_koha` function in the package's init file.
  • Loading branch information
complexluise committed Oct 25, 2024
1 parent 4db3aa5 commit 6a6b720
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions bibloclean/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from cli import limpiar_koha
4 changes: 4 additions & 0 deletions bibloclean/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from bibloclean import limpiar_koha

if __name__ == "__main__":
limpiar_koha()

0 comments on commit 6a6b720

Please sign in to comment.