summaryrefslogtreecommitdiff
path: root/src/caelestia
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-14 23:06:22 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-14 23:06:22 +1000
commit0ccf16d42514e7861927be2678d2de001786297c (patch)
tree6395ddaf24d582b9d60f8594b21632399d1804b0 /src/caelestia
parentMerge pull request #6 from caelestia-dots/python-rework (diff)
downloadcaelestia-cli-0ccf16d42514e7861927be2678d2de001786297c.tar.gz
caelestia-cli-0ccf16d42514e7861927be2678d2de001786297c.tar.bz2
caelestia-cli-0ccf16d42514e7861927be2678d2de001786297c.zip
Squashed commit of the following:
commit 7c47604c45e293a29ca31f01e140d621194c0aa6 Author: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat Jun 14 23:02:06 2025 +1000 dev: run without installing
Diffstat (limited to 'src/caelestia')
-rw-r--r--src/caelestia/__init__.py4
-rw-r--r--src/caelestia/__main__.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/caelestia/__init__.py b/src/caelestia/__init__.py
index 71c9b62..7e5d49e 100644
--- a/src/caelestia/__init__.py
+++ b/src/caelestia/__init__.py
@@ -7,7 +7,3 @@ def main() -> None:
args.cls(args).run()
else:
parser.print_help()
-
-
-if __name__ == "__main__":
- main()
diff --git a/src/caelestia/__main__.py b/src/caelestia/__main__.py
new file mode 100644
index 0000000..868d99e
--- /dev/null
+++ b/src/caelestia/__main__.py
@@ -0,0 +1,4 @@
+from . import main
+
+if __name__ == "__main__":
+ main()