refactor: move tools/$lang/** to tools/** (#17)

This commit is contained in:
sigoden
2024-06-06 08:29:00 +08:00
committed by GitHub
parent 005d23030d
commit bfb7d75fe4
15 changed files with 11 additions and 11 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -e
# @describe Takes in a query string and returns search result from DuckDuckGo.
# Use it to answer user questions that require dates, facts, real-time information, or news.
# This ensures accurate and up-to-date answers.
# @meta require-tools ddgr
# @env DDG_MAX_RESULTS=5 The max results to return.
# @option --query! The query to search for.
main() {
ddgr -n $DDG_MAX_RESULTS --json "$argc_query"
}
eval "$(argc --argc-eval "$0" "$@")"