with builder
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use std::path::{self, PathBuf};
|
||||
use std::path::PathBuf;
|
||||
|
||||
use clap::{Arg, ArgAction, ArgMatches, Command};
|
||||
use octopush_core::schema::{self, models::Action};
|
||||
use octopush_core::schema;
|
||||
use octopush_infra::service_register::ServiceRegister;
|
||||
|
||||
pub fn execute_cmd() -> Command {
|
||||
@@ -53,7 +53,14 @@ pub async fn execute_subcommand(args: &ArgMatches) -> eyre::Result<()> {
|
||||
paths.push(path);
|
||||
}
|
||||
|
||||
kk
|
||||
for path in paths {
|
||||
for action in actions.clone() {
|
||||
service_register
|
||||
.executor
|
||||
.execute(path.clone(), action_path.clone(), action)
|
||||
.await?;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user