implement argument option to Keep Nex entry on Snac post was removed (disables cleanup action)

This commit is contained in:
postscriptum 2025-07-03 12:30:51 +03:00
parent 499a78004a
commit d8dac50cb6
5 changed files with 66 additions and 24 deletions

View file

@ -44,4 +44,8 @@ pub struct Config {
/// * escaped with `%%`
#[arg(long, default_value_t = String::from("%Y/%m/%d %H:%M:%S"))]
pub format_updated: String,
/// Keep Nex entry on Snac post was removed
#[arg(short, long, default_value_t = false)]
pub keep: bool,
}