upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/sub_commands/push.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sub_commands/push.rs')
-rw-r--r--src/sub_commands/push.rs31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/sub_commands/push.rs b/src/sub_commands/push.rs
new file mode 100644
index 0000000..e0fda7b
--- /dev/null
+++ b/src/sub_commands/push.rs
@@ -0,0 +1,31 @@
1
2use clap::{Args};
3
4use crate::fetch_pull_push::fetch_pull_push;
5
6#[derive(Args)]
7struct PushRepo {
8 /// Relays
9 #[arg(short, long)]
10 relays: Option<String>,
11}
12
13#[derive(Args)]
14pub struct PushSubCommand {
15}
16
17pub fn push(
18 _sub_command_args: &PushSubCommand,
19) {
20
21 fetch_pull_push(
22 None,
23 false,
24 true,
25 None,
26 false,
27 None,
28 None,
29 );
30
31}