Auto-test command line arguments configuration

This commit is contained in:
Pierre HUBERT 2025-03-31 23:58:20 +02:00
parent 8875b24d31
commit 0644e4ec12

@ -182,3 +182,13 @@ async fn main() -> std::io::Result<()> {
.run()
.await
}
#[cfg(test)]
mod test {
use crate::Args;
#[test]
fn verify_cli() {
use clap::CommandFactory;
Args::command().debug_assert()
}
}