finger: implement basic fuzzy search mechanism

This commit is contained in:
2026-04-23 15:34:23 +09:00
parent 106a955ad1
commit 92f77bfaff
5 changed files with 96 additions and 11 deletions
+2 -2
View File
@@ -123,7 +123,7 @@ pub struct Args {
#[arg(long, value_enum, hide = true)]
completions: Option<Shell>,
users: Vec<String>,
users: Option<Vec<String>>,
}
#[tokio::main]
@@ -154,7 +154,7 @@ async fn main() -> anyhow::Result<()> {
println!("{}", serde_json::to_string_pretty(&reply).unwrap());
} else {
for user in reply {
println!("{:#?}", user.unwrap());
println!("{:#?}", user);
}
}