upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/sub_commands/fetch.rs
blob: 36f195403373dc3f089b974d52441e4948be2abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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,
    );

}