use ego-mgr for username/email instead of CLI flags
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user