9 lines
322 B
Bash
9 lines
322 B
Bash
#!/usr/bin/env bash
|
|
# Convenience: inventory + write JSON on SuperAdmin host.
|
|
set -euo pipefail
|
|
cd /var/www/superadmin/api
|
|
npm run prisma:inventory-khanegi-sms
|
|
SMS_INVENTORY_FORMAT=json SMS_INVENTORY_OUT=/tmp/khanegi-sms-inventory.json \
|
|
npm run prisma:inventory-khanegi-sms
|
|
echo "JSON: /tmp/khanegi-sms-inventory.json"
|