Skip to content

Commit c4e774c

Browse files
committed
refactor: switch from optparse to argparse
1 parent 1ef2543 commit c4e774c

File tree

6 files changed

+531
-354
lines changed

6 files changed

+531
-354
lines changed

cogapp/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
"""
66

77
from .cogapp import Cog as Cog, CogUsageError as CogUsageError, main as main
8+
9+
10+
if __name__ == "__main__":
11+
main()

0 commit comments

Comments
 (0)