iterun 0.1.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
cli/__init__.py ADDED
@@ -0,0 +1,20 @@
1
+ """ITERUN command-line interface."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ __all__ = ["CLI", "main"]
6
+
7
+ if TYPE_CHECKING:
8
+ from .main import CLI, main
9
+
10
+
11
+ def __getattr__(name: str):
12
+ if name == "CLI":
13
+ from .main import CLI
14
+
15
+ return CLI
16
+ if name == "main":
17
+ from .main import main
18
+
19
+ return main
20
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
cli/__main__.py ADDED
@@ -0,0 +1,4 @@
1
+ from cli.main import main
2
+
3
+ if __name__ == "__main__":
4
+ main()