From 318e467b158b158cf9eb843318dc14141d1b8c54 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Sun, 21 May 2023 11:27:04 +0000 Subject: main and remaining subcommands --- src/sub_commands/fetch.rs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/sub_commands/fetch.rs (limited to 'src/sub_commands/fetch.rs') diff --git a/src/sub_commands/fetch.rs b/src/sub_commands/fetch.rs new file mode 100644 index 0000000..36f1954 --- /dev/null +++ b/src/sub_commands/fetch.rs @@ -0,0 +1,22 @@ +use clap::Args; +use nostr::Keys; + +use crate::fetch_pull_push::fetch_pull_push; + +#[derive(Args)] +pub struct FetchSubCommand { +} + +pub fn fetch_from_relays(keys: Option<&Keys>) { + + fetch_pull_push( + keys, + false, + false, + None, + false, + None, + None, + ); + +} -- cgit v1.2.3