mirror of
https://github.com/MatthewL246/pretendo-docker.git
synced 2026-04-15 13:25:47 -05:00
15 lines
372 B
Bash
Executable File
15 lines
372 B
Bash
Executable File
#! /bin/sh
|
|
|
|
set -eu
|
|
|
|
git_base=$(git rev-parse --show-toplevel)
|
|
. "$git_base/scripts/internal/function-lib.sh"
|
|
update_pnid_access_level_script=$(cat "$git_base/scripts/run-in-container/make-pnid-dev.js")
|
|
|
|
if [ "$#" -lt 1 ]; then
|
|
echo "Usage: $0 <PNID to give developer access>"
|
|
exit 1
|
|
fi
|
|
|
|
docker compose exec account node -e "$update_pnid_access_level_script" "$1"
|