We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d9aa9d commit 2ff1401Copy full SHA for 2ff1401
2 files changed
dfanalyzer/__main__.py
@@ -17,6 +17,18 @@
17
filter_warnings()
18
init_hydra_config_store()
19
20
+def cli():
21
+ """
22
+ Dispatch between the new --report mode and the usual Hydra-powered analysis.
23
24
+ if '--report' in sys.argv:
25
+ # Remove our flag so dfreport.py sees only its own args
26
+ sys.argv.remove('--report')
27
+ from .utils.dfreport import main as report_main
28
+ report_main()
29
+ else:
30
+ main()
31
+
32
@hydra.main(version_base=None, config_name="config")
33
def main(cfg: Config) -> None:
34
# Configure structlog + stdlib logging
0 commit comments