mirror of
https://github.com/hanzoskill/putio.git
synced 2026-10-30 21:13:37 +00:00
13 lines
195 B
Bash
13 lines
195 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
source "$(dirname "$0")/_kaput.sh"
|
|
|
|
URL="${1:-}"
|
|
if [[ -z "$URL" ]]; then
|
|
echo "Usage: $0 <magnet_or_url>" >&2
|
|
exit 2
|
|
fi
|
|
|
|
"$KAPUT" transfers add "$URL"
|