Add a command to add a new user

This commit is contained in:
2026-01-11 14:38:19 -06:00
parent 1c1eeddcbe
commit afcb447b2b
3 changed files with 101 additions and 0 deletions

9
framework/mgmt.d/add-user Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -eu
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT="$DIR/../.."
cd "$ROOT/express"
"$DIR"/../cmd.d/tsx mgmt/add-user.ts "$@"