mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-29 04:07:00 +02:00
refactor yaak-cli phase 1 command architecture
This commit is contained in:
7
crates-cli/yaak-cli/src/commands/send.rs
Normal file
7
crates-cli/yaak-cli/src/commands/send.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use crate::cli::SendArgs;
|
||||
use crate::commands::request;
|
||||
use crate::context::CliContext;
|
||||
|
||||
pub async fn run(ctx: &CliContext, args: SendArgs, environment: Option<&str>, verbose: bool) {
|
||||
request::send_request_by_id(ctx, &args.request_id, environment, verbose).await;
|
||||
}
|
||||
Reference in New Issue
Block a user