Great idea! I had βsolvedβ this need by having a github template for streamlit, but I like better this approach! Can use it directly on local. Bravo.
Actually you have a point, the CLI could also simply create a repo based on a template GitHub repository. See gh repo create --template in the GitHub CLI. The repo could be a parameter. And it keeps doing additional stuffs (opening VS Code + browser + running the server)
st {template_repo}
where template_repo is default to e.g. arnaudmiribel/my-streamlit-template which would have the current settings but you could use any.
Downside is the additional requirement of GitHub CLI.