feat(nsconfig): basic config and basic integration in service

This commit is contained in:
grimhilt
2024-09-15 14:48:45 +02:00
parent e780279acd
commit 61531f664b
12 changed files with 150 additions and 27 deletions

View File

@@ -8,6 +8,6 @@ pub fn create() -> Command {
Command::new("push").about("Push changes on nextcloud")
}
pub fn handler(args: &ArgMatches) {
pub fn handler(_args: &ArgMatches) {
commands::push::exec(PushArgs {}, Config::new());
}

View File

@@ -9,7 +9,7 @@ pub fn create() -> Command {
.about("Clear the index")
}
pub fn handler(args: &ArgMatches) {
pub fn handler(_args: &ArgMatches) {
commands::reset::exec(
ResetArgs {},
Config::new(),