File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 22from pathlib import Path
33
44from vuegen import report_generator
5- from vuegen .utils import get_logger , get_parser
5+ from vuegen .utils import get_logger , get_parser , print_completion_message
66
77
88def main ():
@@ -47,6 +47,8 @@ def main():
4747 streamlit_autorun = streamlit_autorun ,
4848 )
4949
50+ # Print completion message
51+ print_completion_message (report_type )
5052
5153if __name__ == "__main__" :
5254 main ()
Original file line number Diff line number Diff line change @@ -743,6 +743,45 @@ def get_logger(log_suffix):
743743
744744 return logger
745745
746+ def print_completion_message (report_type : str ):
747+ """
748+ Prints a formatted completion message after report generation.
749+ """
750+ border = "─" * 65 # Creates a separator line
751+ print (f"\n { border } \n 🎉 Pipeline Execution Complete! 🎉\n " )
752+
753+ if report_type == "streamlit" :
754+ print (
755+ """🚀 Streamlit Report Generated!
756+
757+ 📂 All scripts to build the Streamlit app are available at:
758+ nf_container_results/streamlit_report/sections
759+
760+ ▶️ To run the Streamlit app, use the following command:
761+ streamlit run nf_container_results/streamlit_report/sections/report_manager.py
762+
763+ ✨ You can extend the report by adding new files to the input directory or updating the config file.
764+
765+ 🛠️ Advanced users can modify the Python scripts directly in:
766+ nf_container_results/streamlit_report/sections
767+ """
768+ )
769+ else :
770+ print (
771+ f"""🚀 { report_type .capitalize ()} Report Generated!
772+
773+ 📂 Your { report_type } report is available at:
774+ nf_container_results/quarto_report
775+
776+ ✨ You can extend the report by adding new files to the input directory or updating the config file.
777+
778+ 🛠️ Advanced users can modify the report template directly in:
779+ nf_container_results/quarto_report/quarto_report.qmd
780+ """
781+ )
782+
783+ print (border )
784+
746785
747786## REPORT FORMATTING
748787def generate_footer () -> str :
You can’t perform that action at this time.
0 commit comments