pub async fn select_seren_database() -> Result<String>Expand description
Prompts the user to select a SerenDB project and database interactively.
This function will:
- Get the SerenDB API key (from environment or prompt).
- Fetch and display a list of projects for the user to select.
- Fetch the default branch for the selected project.
- Fetch and display a list of databases for the user to select.
- Return the connection string for the selected database.
ยงReturns
A Result containing the connection string of the selected database.