feat: Implement Mattermost sync functionality and enhance workspace context management
This commit is contained in:
15
scripts/mattermost/sync.sh
Executable file
15
scripts/mattermost/sync.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
if [[ -x "$SCRIPT_DIR/.venv/bin/python" ]]; then
|
||||
PYTHON_BIN="$SCRIPT_DIR/.venv/bin/python"
|
||||
elif [[ -n "${PYTHON_BIN:-}" ]]; then
|
||||
PYTHON_BIN="$PYTHON_BIN"
|
||||
else
|
||||
PYTHON_BIN="python3"
|
||||
fi
|
||||
|
||||
exec "$PYTHON_BIN" "$SCRIPT_DIR/mattermost_context.py"
|
||||
Reference in New Issue
Block a user