diff --git a/hive-forge/src/verbs/assign.rs b/hive-forge/src/verbs/assign.rs index 0767de0..11d67e7 100644 --- a/hive-forge/src/verbs/assign.rs +++ b/hive-forge/src/verbs/assign.rs @@ -19,10 +19,12 @@ pub struct Args { /// Remove the user instead of adding. #[arg(long)] remove: bool, + /// Repo override. + repo: Option, } pub fn run(client: &Client, args: Args) -> Result<()> { - let repo = client.repo(None); + let repo = client.repo(args.repo.as_deref()); let current = client.get_json(&format!("/repos/{repo}/issues/{}", args.number))?; let mut assignees: Vec = current .get("assignees")