Skip to content

Commit

Permalink
feat: update module default to use init entrypoint
Browse files Browse the repository at this point in the history
Signed-off-by: George Vauter <[email protected]>
  • Loading branch information
gvauter committed Aug 22, 2024
1 parent 868c1fa commit 10b88e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trestlebot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

# Default entrypoint for trestlebot is autosync mode when run with python -m trestlebot

from trestlebot.entrypoints.autosync import main as autosync_main
from trestlebot.entrypoints.init import main as init_main


def init() -> None:
"""Initialize trestlebot"""
if __name__ == "__main__":
autosync_main()
init_main()


init()

0 comments on commit 10b88e2

Please sign in to comment.