@@ -6,11 +6,11 @@ Demo and utility scripts. All `.sh` scripts require `pnpm build` first.
66
77These invoke source/destination connector CLIs directly — no engine in between.
88
9- | Script | Description |
10- | --------| -------------|
11- | ` read-from-stripe.sh ` | Read products from Stripe, emit NDJSON to stdout |
12- | ` write-to-sheets.sh ` | Write NDJSON to Google Sheets (stdin or sample data) |
13- | ` write-to-postgres.sh ` | Write NDJSON to Postgres (stdin or sample data) |
9+ | Script | Description |
10+ | ---------------------- | ---------------------------------------------------- |
11+ | ` read-from-stripe.sh ` | Read products from Stripe, emit NDJSON to stdout |
12+ | ` write-to-sheets.sh ` | Write NDJSON to Google Sheets (stdin or sample data) |
13+ | ` write-to-postgres.sh ` | Write NDJSON to Postgres (stdin or sample data) |
1414
1515Pipe them together:
1616
@@ -23,28 +23,28 @@ Pipe them together:
2323
2424These use the sync-engine CLI which handles discover → read → write in one shot.
2525
26- | Script | Description |
27- | --------| -------------|
28- | ` stripe-to-postgres.sh ` | Sync Stripe products to Postgres |
26+ | Script | Description |
27+ | ---------------------------- | ------------------------------------- |
28+ | ` stripe-to-postgres.sh ` | Sync Stripe products to Postgres |
2929| ` stripe-to-google-sheets.sh ` | Sync Stripe products to Google Sheets |
3030
3131## Utilities
3232
33- | Script | Description |
34- | --------| -------------|
35- | ` reset-postgres.sh ` | Drop all non-system schemas and tables in public |
36- | ` release-package.sh ` | Create a GitHub release with a built tarball |
37- | ` d2.mjs ` | Render D2 diagrams to SVG |
33+ | Script | Description |
34+ | -------------------- | ------------------------------------------------ |
35+ | ` reset-postgres.sh ` | Drop all non-system schemas and tables in public |
36+ | ` release-package.sh ` | Create a GitHub release with a built tarball |
37+ | ` d2.mjs ` | Render D2 diagrams to SVG |
3838
3939## Environment variables
4040
4141Set in ` .envrc ` (via direnv):
4242
43- | Variable | Used by |
44- | ----------| ---------|
45- | ` STRIPE_API_KEY ` | Stripe scripts |
46- | ` DATABASE_URL ` | Postgres scripts |
47- | ` GOOGLE_CLIENT_ID ` | Sheets scripts |
48- | ` GOOGLE_CLIENT_SECRET ` | Sheets scripts |
49- | ` GOOGLE_REFRESH_TOKEN ` | Sheets scripts |
50- | ` GOOGLE_SPREADSHEET_ID ` | Sheets scripts |
43+ | Variable | Used by |
44+ | ----------------------- | ---------------- |
45+ | ` STRIPE_API_KEY ` | Stripe scripts |
46+ | ` DATABASE_URL ` | Postgres scripts |
47+ | ` GOOGLE_CLIENT_ID ` | Sheets scripts |
48+ | ` GOOGLE_CLIENT_SECRET ` | Sheets scripts |
49+ | ` GOOGLE_REFRESH_TOKEN ` | Sheets scripts |
50+ | ` GOOGLE_SPREADSHEET_ID ` | Sheets scripts |
0 commit comments