11 lines
171 B
Bash
Executable File
11 lines
171 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# @env LLM_OUTPUT=/dev/stdout The output path
|
|
|
|
# @cmd Get the ip info
|
|
get_ipinfo() {
|
|
curl -fsSL https://httpbin.org/ip >> "$LLM_OUTPUT"
|
|
}
|
|
|