coulomb-social/scripts/export-bubble-session.sh

14 lines
429 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# Authenticated Bubble inventory export (CSOC-WP-0001-T02).
# Uses storage-state only — never prints secrets.
set -euo pipefail
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT="$(cd "$DIR/.." && pwd)"
cd "$DIR"
if [[ ! -d node_modules/playwright ]]; then
echo "Installing playwright in scripts/ …"
npm install
npx playwright install chromium
fi
exec node ./export-bubble-inventory.mjs "$@"