pub(super) fn run_refresh(repo_id: &str) {
let tokens = crate::application::prompt::fetch_output(
&crate::infra::gh::GhClient::new(),
&crate::infra::logger::Logger,
);
if let Some(tokens) = tokens {
let output = crate::presentation::render_to_string(&tokens);
crate::infra::cache::write(repo_id, &output);
}
crate::infra::refresh_lock::release(repo_id);
}