$ streamlit docs
Look up a Streamlit command in your terminal, or open the Streamlit docs in your default browser.
Syntax
Python
streamlit docs <command>
Arguments
<command> (Optional): The name of a public Streamlit command, such as st.number_input. You can include or omit the st. (or streamlit.) prefix, and you can reference namespace members like st.column_config.NumberColumn.
- If not provided: Streamlit opens the docs in your default browser.
- If provided: Streamlit prints the signature and docstring of the command in your terminal.
Examples
-
Open the Streamlit docs in your default browser:
Terminalstreamlit docs -
Print the signature and docstring of
st.number_input:Terminalstreamlit docs st.number_input
Still have questions?
Our forums are full of helpful information and Streamlit experts.