13 lines
262 B
Bash
Executable File
13 lines
262 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"
|
|
}
|
|
|
|
# See more details at https://github.com/sigoden/argc
|
|
eval "$(argc --argc-eval "$0" "$@")"
|