diff --git a/piggybank/cli/main.py b/piggybank/__main__.py similarity index 99% rename from piggybank/cli/main.py rename to piggybank/__main__.py index 96f83e0..4b092c4 100644 --- a/piggybank/cli/main.py +++ b/piggybank/__main__.py @@ -183,3 +183,6 @@ def main(): except Exception as err: print(f"Something went exceptionally wrong. Error:", f"{type(err).__name__}:", err, file=stderr) + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/piggybank/cli/__init__.py b/piggybank/cli/__init__.py deleted file mode 100644 index e69de29..0000000