feat(push): save objects
This commit is contained in:
13
src/subcommands/push.rs
Normal file
13
src/subcommands/push.rs
Normal 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());
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
use clap::{Arg, ArgAction, ArgMatches, Command};
|
||||
use clap::{ArgMatches, Command};
|
||||
|
||||
use crate::commands;
|
||||
use crate::commands::reset::ResetArgs;
|
||||
|
||||
Reference in New Issue
Block a user