Add --author and --authored flags to "rad issue (list)"
This patch adds filtering functionality for the author of an issue when listing issues.
In large repositories like heartwood, rad issue list lists more than
one screen size of issues. For boiling down this list (for example to
find issue IDs of issues oneself has authored), this patch introduces
the –authored and –author rad patch list.
This makes the interface of that subcommand symmetric to rad patch list, which is desireable from a UX standpoint as well.
2 files changed
+45
-0
e9245b63
→
625e775c
modified crates/radicle-cli/src/commands/issue.rs
@@ -2,6 +2,8 @@ mod args;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -196,8 +198,14 @@ pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -241,6 +249,7 @@ pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -272,6 +281,12 @@ where
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/issue/args.rs
@@ -212,6 +212,20 @@ pub(crate) struct EmptyArgs {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -242,6 +256,20 @@ pub(crate) struct ListArgs {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -296,6 +324,8 @@ impl From<EmptyArgs> for ListArgs {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|