add HumanInterface
add cli
This commit is contained in:
1 parent
5bf98a1efc
commit
5aaedbd73f
9 files changed
+156
-29
No files matched your search
@@ -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