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/push.rs | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/sub_commands/push.rs (limited to 'src/sub_commands/push.rs') 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 @@ + +use clap::{Args}; + +use crate::fetch_pull_push::fetch_pull_push; + +#[derive(Args)] +struct PushRepo { + /// Relays + #[arg(short, long)] + relays: Option, +} + +#[derive(Args)] +pub struct PushSubCommand { +} + +pub fn push( + _sub_command_args: &PushSubCommand, +) { + + fetch_pull_push( + None, + false, + true, + None, + false, + None, + None, + ); + +} -- cgit v1.2.3