improvement: use clap for command line args

This commit is contained in:
Rasmus Schlunsen
2023-01-14 09:22:11 -06:00
committed by Greg Heartsfield
parent d06d227ebe
commit 73f4f60cc7
6 changed files with 178 additions and 40 deletions
+10
View File
@@ -0,0 +1,10 @@
#[cfg(test)]
mod tests {
use nostr_rs_relay::cli::CLIArgs;
#[test]
fn cli_tests() {
use clap::CommandFactory;
CLIArgs::command().debug_assert();
}
}