Skip to content

Commit ac86383

Browse files
committed
Refactor: Wrap app() within main()
1 parent 1342a29 commit ac86383

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,5 +319,8 @@ def send_draft(draft_id: int, drafts_file: str = DRAFTS_FILE):
319319

320320
typer.echo(f"Draft with ID {draft_id} sent and removed from drafts.")
321321

322+
def main():
323+
app()
324+
322325
if __name__ == "__main__":
323-
app()
326+
main()

0 commit comments

Comments
 (0)