From 65763a2ad25de626a20166d4fcf44d24e0ccb789 Mon Sep 17 00:00:00 2001 From: Slack Coder Date: Wed, 31 May 2023 14:32:52 -0500 Subject: [PATCH] cli: Enable redacting patch revisions Use `rad patch redact ` to redact (delete) a patch revision. --- radicle-cli/src/commands/patch.rs | 21 ++++++++- radicle-cli/src/commands/patch/redact.rs | 28 ++++++++++++ radicle/src/cob/patch.rs | 56 +++++++++++++++++++++++- 3 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 radicle-cli/src/commands/patch/redact.rs diff --git a/radicle-cli/src/commands/patch.rs b/radicle-cli/src/commands/patch.rs index cd37c287..9ddf40e3 100644 --- a/radicle-cli/src/commands/patch.rs +++ b/radicle-cli/src/commands/patch.rs @@ -14,6 +14,8 @@ mod edit; mod list; #[path = "patch/ready.rs"] mod ready; +#[path = "patch/redact.rs"] +mod redact; #[path = "patch/show.rs"] mod show; #[path = "patch/update.rs"] @@ -49,6 +51,7 @@ Usage rad patch update [