13 lines
269 B
Bash
Executable File
13 lines
269 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
|
|
if ! command -v agy &>/dev/null; then
|
|
echo "ERROR: agy CLI binary not found in PATH" >&2
|
|
exit 1
|
|
fi
|
|
|
|
# Pass stdin directly into agy -p -
|
|
cat - | agy -p - --dangerously-skip-permissions
|