Command-line arguments

I’m a year late to this question but found it while googling “streamlit argparse” so thought I’d put a solution here. To stop streamlit from parsing farther you can add --

example:
streamlit run perfviz_streamlit.py -- --title blahblah

And if you wrap the streamlit run perfviz_streamlit.py -- inside a bash script you could have something that looked even more consistent with normal command line options.

5 Likes