WIP: Adds --no-spin option to shorten-url, fixes dev-env to copy shorten-url utils scripts.

This commit is contained in:
2025-11-19 05:34:51 -05:00
parent 45666a5911
commit 1e60f88ec4
4 changed files with 30 additions and 6 deletions

View File

@@ -10,8 +10,8 @@ LOG_LABEL=$(basename "$THIS_FILE")
THIS=${THIS:-$LOG_LABEL}
LOG_FILE=${LOG_FILE:-"$LOG_LABEL.log"}
API_KEY=$(/bin/gopass show --password Keys/shlink/api-key)
BASE_URL="https://l.housh.dev/rest/v3"
# Setup environment
source "$SCRIPTS/utils/shorten-url/env"
declare url shortCode
declare -a tags

7
env/.local/scripts/utils/shorten-url/env vendored Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
API_KEY=$(/bin/gopass show --password Keys/shlink/api-key)
BASE_URL="https://l.housh.dev/rest/v3"
export API_KEY
export BASE_URL