cli: Add rad patch diff command

This commit is contained in:
cloudhead
2024-01-04 11:49:01 +01:00
parent 04bfbca15d
commit 91684cc9ca
9 changed files with 190 additions and 19 deletions
+8
View File
@@ -15,6 +15,7 @@ rad-patch - Manage radicle patches.
*rad patch* [<option>...] +
*rad patch* _list_ [--all|--merged|--open|--archived|--draft] [<option>...] +
*rad patch* _show_ <patch-id> [<option>...] +
*rad patch* _diff_ <patch-id> [--revision <revision-id>] [<option>...] +
*rad patch* _archive_ <patch-id> [<option>...] +
*rad patch* _update_ <patch-id> [<option>...] +
*rad patch* _checkout_ <patch-id> [<option>...] +
@@ -52,6 +53,13 @@ Shows information on the given patch.
*--patch*, *-p*:: Show the patch changes in git patch format
*--verbose*, *-v*:: Show additional information about the patch
=== diff
Outputs the patch diff, using Radicle's diffing tool.
*<patch-id>*:: The patch to diff
*--revision*, *-r <revision-id>*:: The revision to diff (default: latest)
=== edit
Edits a patch revision comment. To edit the patch title or description, pass