use ego-mgr for username/email instead of CLI flags

This commit is contained in:
lyn
2026-03-24 19:18:20 +00:00
parent 2d37e9d55f
commit b9785b6295
5 changed files with 48 additions and 69 deletions

View File

@@ -3,6 +3,15 @@
# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
# Get username from ego-mgr
username=$(ego-mgr get default-username)
# Check if username is provided
if [[ -z "$username" ]]; then
echo "Error: default-username not set in ego-mgr, please contact ard"
exit 1
fi
roster=false
# Parse arguments