upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/sub_commands/push.rs
blob: e0fda7ba5ca4e62c2517c381c621494ba006e55e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

use clap::{Args};

use crate::fetch_pull_push::fetch_pull_push;

#[derive(Args)]
struct PushRepo {
    /// Relays
    #[arg(short, long)]
    relays: Option<String>,
}

#[derive(Args)]
pub struct PushSubCommand {
}

pub fn push(
    _sub_command_args: &PushSubCommand,
) {
    
    fetch_pull_push(
        None,
        false,
        true,
        None,
        false,
        None,
        None,
    );

}