feat(push): save objects

This commit is contained in:
grimhilt
2024-09-12 23:22:20 +02:00
parent 8f636b4bf7
commit a69a71d843
16 changed files with 230 additions and 68 deletions

13
src/subcommands/push.rs Normal file
View File

@@ -0,0 +1,13 @@
use clap::{ArgMatches, Command};
use crate::commands;
use crate::commands::push::PushArgs;
use crate::config::config::Config;
pub fn create() -> Command {
Command::new("push").about("Push changes on nextcloud")
}
pub fn handler(args: &ArgMatches) {
commands::push::exec(PushArgs {}, Config::new());
}

View File

@@ -1,4 +1,4 @@
use clap::{Arg, ArgAction, ArgMatches, Command};
use clap::{ArgMatches, Command};
use crate::commands;
use crate::commands::reset::ResetArgs;