add HumanInterface
add cli
This commit is contained in:
@@ -32,7 +32,7 @@ impl DateTimeHandler {
|
||||
Local::now().iso_week().week().to_string()
|
||||
}
|
||||
|
||||
#[tool(description = "return current weekday as 3-character-string (e.g. Mon, Tue, ...)", annotations(read_only_hint = true))]
|
||||
#[tool(description = "return current weekday", annotations(read_only_hint = true))]
|
||||
fn get_weekday() -> String {
|
||||
Local::now().weekday().to_string()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user