upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/sub_commands/fetch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sub_commands/fetch.rs')
-rw-r--r--src/sub_commands/fetch.rs22
1 files changed, 22 insertions, 0 deletions
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 @@
1use clap::Args;
2use nostr::Keys;
3
4use crate::fetch_pull_push::fetch_pull_push;
5
6#[derive(Args)]
7pub struct FetchSubCommand {
8}
9
10pub fn fetch_from_relays(keys: Option<&Keys>) {
11
12 fetch_pull_push(
13 keys,
14 false,
15 false,
16 None,
17 false,
18 None,
19 None,
20 );
21
22}