2024-08-14 10:51:44 +00:00
|
|
|
# cli
|
2024-08-14 09:00:16 +00:00
|
|
|
|
|
|
|
* Install dependencies:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
yarn
|
|
|
|
```
|
|
|
|
|
2024-08-14 10:51:44 +00:00
|
|
|
* Create required env configuration:
|
2024-08-14 09:00:16 +00:00
|
|
|
|
|
|
|
```bash
|
2024-08-14 10:51:44 +00:00
|
|
|
# Update the values as required
|
|
|
|
cp .env.example .env
|
|
|
|
```
|
|
|
|
|
|
|
|
* Map subscribers to onboarded participants:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
yarn ts-node cli/map-subscribers-to-participants.ts --subscribersCsv <subscribers-csv-file> --output <output-csv-file>
|
2024-08-14 09:00:16 +00:00
|
|
|
|
|
|
|
# Example:
|
2024-08-14 10:51:44 +00:00
|
|
|
# yarn ts-node cli/map-subscribers-to-participants.ts --subscribersCsv subscribers.csv --output result.csv
|
2024-08-14 09:00:16 +00:00
|
|
|
```
|