1111
1212
1313@click .group (invoke_without_command = True )
14- @click .option ("--version" , is_flag = True , help = "Show the Threadzip version and exit." )
14+ @click .option ("--version" , is_flag = True , help = "Show the Sample version and exit." )
1515@click .pass_context
1616def cli (ctx , version ):
17- """Threadzip command-line tools."""
17+ """Sample command-line tools."""
1818 if version :
1919 click .echo (__version__ )
2020 ctx .exit ()
2121
2222
2323@cli .command ()
2424def dev ():
25- """Run the Threadzip Streamlit app."""
25+ """Run the Sample Streamlit app."""
2626 main ()
2727
2828
2929@cli .command ()
3030def api ():
31- """Run the Threadzip FastAPI backend."""
31+ """Run the Sample FastAPI backend."""
3232 from api .fast_api import start
3333
3434 start ()
@@ -38,16 +38,16 @@ def main():
3838 """
3939 Entrypoint for the Streamlit 'dev' app.
4040 """
41- print ("🏷️ Threadzip version:" , __version__ )
41+ print ("🏷️ Sample version:" , __version__ )
4242 logging .info ("Starting sample dev script..." )
4343
4444 # Paths
45- threadzip_dir = Path (__file__ ).resolve ().parent
46- dev_root = threadzip_dir .parent # src/
47- wheel_root = threadzip_dir .parent # same in wheel
45+ Sample_dir = Path (__file__ ).resolve ().parent
46+ dev_root = Sample_dir .parent # src/
47+ wheel_root = Sample_dir .parent # same in wheel
4848
4949 # Add correct root to sys.path
50- if "site-packages" in str (threadzip_dir ): # running from wheel
50+ if "site-packages" in str (Sample_dir ): # running from wheel
5151 if str (wheel_root ) not in sys .path :
5252 sys .path .append (str (wheel_root ))
5353 logging .info (f"Added wheel root to sys.path: { wheel_root } " )
@@ -57,7 +57,7 @@ def main():
5757 logging .info (f"Added dev src root to sys.path: { dev_root } " )
5858
5959 # Locate streamlit_app.py
60- streamlit_app_path = threadzip_dir / "streamlit_app.py"
60+ streamlit_app_path = Sample_dir / "streamlit_app.py"
6161 logging .info (f"Streamlit app path: { streamlit_app_path } " )
6262
6363 if not streamlit_app_path .exists ():
0 commit comments