Skip to content

Commit

Permalink
import: make the compose link a clearer call to action (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
delan committed Oct 5, 2024
1 parent d6951fc commit d44ec8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/command/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub async fn main(mut args: impl Iterator<Item = String>) -> eyre::Result<()> {
if post.meta.archived == Some(u_url.to_string()) {
info!("found existing post: {path:?}");
// TODO: optionally update existing post?
info!("reply: {}", path.compose_reply_url());
info!("click here to reply: {}", path.compose_reply_url());
return Ok(());
}
}
Expand All @@ -138,7 +138,7 @@ pub async fn main(mut args: impl Iterator<Item = String>) -> eyre::Result<()> {
let post = TemplatedPost::filter(&unsafe_html, Some(path.clone()))?;
file.write_all(post.safe_html.as_bytes())?;

info!("reply: {}", path.compose_reply_url());
info!("click here to reply: {}", path.compose_reply_url());

Ok(())
}
Expand Down

0 comments on commit d44ec8b

Please sign in to comment.