pub(crate) fn default_cli_project_root( db: &Path, config_path: Option<&Path>, database_path_is_explicit: bool, ) -> Result<PathBuf, CliError>
Resolve the default CLI project root before opening an implicit database.