6 lines
249 B
Bash
Executable file
6 lines
249 B
Bash
Executable file
#!/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 "$@"
|