aboutsummaryrefslogtreecommitdiffstats
path: root/bin/search_duckduckgo
diff options
context:
space:
mode:
Diffstat (limited to 'bin/search_duckduckgo')
-rwxr-xr-xbin/search_duckduckgo16
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/search_duckduckgo b/bin/search_duckduckgo
deleted file mode 100755
index c5ab565..0000000
--- a/bin/search_duckduckgo
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/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" "$@")"