Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
fixup! cli/issue: Parse arguments with clap
Matthias Beyer committed 8 months ago
commit 916668ea770b3375224f6f4c698ef7c1e5b45f37
parent b6a28e2b7b50674deefb75a83edccb63930570e9
2 files changed +6 -3
modified crates/radicle-cli/src/commands/hints.rs
@@ -2,7 +2,11 @@

use clap_complete::CompletionCandidate;

-
use super::*;
+
use radicle::{
+
    identity::Did,
+
    issue::{cache::IssuesExt as _, Issues},
+
    storage::ReadStorage as _,
+
};

/// List the `DID`s associated with the current repository, and are assigned
/// to any issue, filtering by the `prefix`.
modified crates/radicle-cli/src/commands/issue/args.rs
@@ -10,8 +10,7 @@ use clap_complete::ArgValueCompleter;
use radicle::{
    cob::{thread, Label, Reaction},
    identity::{did::DidError, Did, RepoId},
-
    issue::{cache::IssuesExt as _, CloseReason, Issues, State},
-
    storage::ReadStorage as _,
+
    issue::{CloseReason, State},
};

use crate::{commands::hints, git::Rev, terminal::patch::Message};