chore: remove create-user tooling

This commit is contained in:
2026-04-20 17:44:09 +02:00
parent 466d7fdc35
commit 0d0401865d
2 changed files with 0 additions and 174 deletions

View File

@@ -1,28 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
script_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
repo_root="$(cd -- "${script_dir}/.." >/dev/null 2>&1 && pwd)"
email="${1:-}"
password="${2:-}"
if [[ -z "${email}" ]]; then
read -r -p 'Email: ' email
fi
if [[ -z "${password}" ]]; then
read -r -s -p 'Password: ' password
printf '\n'
fi
if [[ -z "${email}" || -z "${password}" ]]; then
printf 'Email and password are required.\n' >&2
exit 1
fi
(
cd "${repo_root}"
printf '%s' "${password}" | go run ./cmd/create-user --email "${email}" --password-stdin
)