From 8ed55a19253b9c8943c38dcd922c68c4471e7e0e Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Sat, 8 Jul 2023 16:35:08 +0200 Subject: [PATCH] cli: Add `--to` flag to `rad issue react` This allows the CLI to create a reaction to a specific comment without showing the comment selector. Signed-off-by: Sebastian Martinez --- radicle-cli/src/commands/issue.rs | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/radicle-cli/src/commands/issue.rs b/radicle-cli/src/commands/issue.rs index ff14d035..f507b360 100644 --- a/radicle-cli/src/commands/issue.rs +++ b/radicle-cli/src/commands/issue.rs @@ -8,6 +8,7 @@ use anyhow::{anyhow, Context as _}; use radicle::cob::common::{Reaction, Tag}; use radicle::cob::issue; use radicle::cob::issue::{CloseReason, Issues, State}; +use radicle::cob::thread; use radicle::crypto::Signer; use radicle::node::{AliasStore, Handle}; use radicle::prelude::Did; @@ -36,7 +37,7 @@ Usage rad issue edit [