Skip to content

Commit

Permalink
feat(pkg): add __main__ module entry.
Browse files Browse the repository at this point in the history
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
  • Loading branch information
BradenM committed Jan 30, 2023
1 parent e9483ff commit 2388858
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions micropy/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from __future__ import annotations

import sys

if __name__ == "__main__":
from micropy.cli import cli

sys.exit(cli())

0 comments on commit 2388858

Please sign in to comment.