cfg/bin/share

7 lines
249 B
Text
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
. <(vault2env --key=secret/minio/knut-cc --export)
exec ~/gocode/bin/share --bucket=knut-cc --file-template="file/{{ printf \"%.8s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress "$@"