cli: add un/resolve for patch review comments
Patch review comments can be resolved and unresolved as part of the Patch COB
API. This functionality was missing from the rad patch command.
Add a subcommand rad patch resolve which can resolve a review comment, and
unresolve given the --unresolve flag.
2 files changed
+106
-0
84aaf9ef
→
fa19105f
modified radicle-cli/src/commands/patch.rs
@@ -22,6 +22,8 @@ mod list;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -61,6 +63,7 @@ Usage
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -101,6 +104,12 @@ Review options
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -169,6 +178,7 @@ pub enum OperationName {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -232,6 +242,12 @@ pub enum Operation {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -268,6 +284,7 @@ impl Operation {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -306,6 +323,8 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -442,6 +461,23 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -545,6 +581,7 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -565,6 +602,7 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -623,6 +661,13 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -804,6 +849,25 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
added radicle-cli/src/commands/patch/resolve.rs
@@ -0,0 +1,42 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |