ref:2a4c79fe24aaf0ce3c05f0d69527902fd164eb0a

fix: show SSH key ID in list output, remove unused --labels flag

- SSH key list: add ID column so users can reference it for `anvil ssh-key remove <id>` - Issue create: remove --labels flag that was silently ignored Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SHA: 2a4c79fe24aaf0ce3c05f0d69527902fd164eb0a
Author: Cole Christensen <cole.christensen@macmillan.com>
Date: 2026-03-15 23:17
Parents: b0542e8
2 files changed +3 -7
Type
src/commands/issue.rs +1 −6
@@ -42,9 +42,6 @@
/// Issue body/description
#[arg(long, default_value = "")]
body: String,
/// Labels (comma-separated)
#[arg(long)]
labels: Option<String>,
},
/// Close an issue
Close {
@@ -171,8 +168,7 @@
repo,
title,
body,
} => create(repo.as_deref(), &title, &body).await,
labels,
} => create(repo.as_deref(), &title, &body, labels.as_deref()).await,
IssueCommand::Close { number, repo } => close_issue(repo.as_deref(), number).await,
IssueCommand::Reopen { number, repo } => reopen_issue(repo.as_deref(), number).await,
IssueCommand::Edit {
@@ -300,7 +296,6 @@
repo: Option<&str>,
title: &str,
body: &str,
_labels: Option<&str>,
) -> Result<(), Box<dyn std::error::Error>> {
let client = Client::from_config()?;
let (org, name) = config::resolve_repo(repo)?;
src/commands/ssh_key.rs +2 −1
@@ -58,6 +58,7 @@
.iter()
.map(|k| {
vec![
k.id.clone().unwrap_or_default(),
k.name.clone().unwrap_or_default(),
k.fingerprint.clone().unwrap_or_default(),
k.last_used_at
@@ -71,6 +72,6 @@
]
})
.collect();
output::print_table(&["ID", "NAME", "FINGERPRINT", "LAST USED", "ADDED"], &rows);
output::print_table(&["NAME", "FINGERPRINT", "LAST USED", "ADDED"], &rows);
Ok(())
}