aboutsummaryrefslogtreecommitdiffstats
path: root/sh/get_current_weather.sh
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-05 18:37:52 +0800
committerGitHub <noreply@github.com>2024-06-05 18:37:52 +0800
commit005d23030dab2b7708996e779dc78dd5f8ebdb8d (patch)
tree0d05583d462a4795a4236a5006befc096047e969 /sh/get_current_weather.sh
parent7e3f47093f2dcb36cf94a35403027ec72bf7b084 (diff)
downloadllm-functions-docker-005d23030dab2b7708996e779dc78dd5f8ebdb8d.tar.gz
feat: adjust project structure (#16)
Diffstat (limited to 'sh/get_current_weather.sh')
-rwxr-xr-xsh/get_current_weather.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/sh/get_current_weather.sh b/sh/get_current_weather.sh
deleted file mode 100755
index 47102e0..0000000
--- a/sh/get_current_weather.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-set -e
-
-# @describe Get the current weather in a given location.
-# @option --location! The city and optionally the state or country, e.g., "London", "San Francisco, CA".
-
-main() {
- curl -fsSL "https://wttr.in/$(echo "$argc_location" | sed 's/ /+/g')?format=4&M"
-}
-
-eval "$(argc --argc-eval "$0" "$@")"