diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2023-10-01 00:00:00 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2023-10-01 00:00:00 +0100 |
| commit | b9a88672b8734448615354e3f46748d2fdc2f647 (patch) | |
| tree | fd9b55c4ea8a132ab31abec3b6b8a4833c9bd8ff /src/sub_commands/prs/mod.rs | |
| parent | 5dce8a09f0f980b878bd02b7e96fc001155492ec (diff) | |
feat(prs-create) send commit to relay
- add client
- use client to send event
- add async functionality - enabler for relay interaction whilst
getting cli input
Diffstat (limited to 'src/sub_commands/prs/mod.rs')
| -rw-r--r-- | src/sub_commands/prs/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sub_commands/prs/mod.rs b/src/sub_commands/prs/mod.rs index c316e73..982e866 100644 --- a/src/sub_commands/prs/mod.rs +++ b/src/sub_commands/prs/mod.rs | |||
| @@ -15,8 +15,8 @@ pub enum Commands { | |||
| 15 | Create(create::SubCommandArgs), | 15 | Create(create::SubCommandArgs), |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | pub fn launch(cli_args: &Cli, pr_args: &SubCommandArgs) -> Result<()> { | 18 | pub async fn launch(cli_args: &Cli, pr_args: &SubCommandArgs) -> Result<()> { |
| 19 | match &pr_args.prs_command { | 19 | match &pr_args.prs_command { |
| 20 | Commands::Create(args) => create::launch(cli_args, pr_args, args), | 20 | Commands::Create(args) => create::launch(cli_args, pr_args, args).await, |
| 21 | } | 21 | } |
| 22 | } | 22 | } |