#!/bin/bash

LIB_DIR="$( dirname "$( realpath "$0" )" )/../lib"
if [[ -f "$LIB_DIR/eeadmtools/helpers" ]]; then
    # shellcheck source=/dev/null
    source "$LIB_DIR/eeadmtools/helpers"
else
    # shellcheck source=/dev/null
    source "$LIB_DIR/helpers"
fi

function usage() {
    default_usage "[meeting]" "  meeting\t\tMeeting name to join (optional)"
}
handle_args "$@"

URL="$MEET_URL"
STR="$( urlencode "${ARGS[*]}" )"
[[ -n "$STR" ]] && URL="${URL}/${STR}"

open_url "$URL"

# vim: tabstop=4 shiftwidth=4 softtabstop=4 expandtab
