Add a script to get subscribed and onboarded laconicd accounts #22
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
node_modules
|
*-deployment
|
||||||
dist
|
*-spec.yml
|
||||||
|
3
scripts/.gitignore
vendored
Normal file
3
scripts/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
.env
|
@ -1,5 +1,11 @@
|
|||||||
# cli
|
# cli
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
- NodeJS - `v20.16.0`
|
||||||
|
|
||||||
|
## Instructions
|
||||||
|
|
||||||
* Install dependencies and build:
|
* Install dependencies and build:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -17,8 +23,8 @@
|
|||||||
* Map subscribers to onboarded participants:
|
* Map subscribers to onboarded participants:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn map-subscribers-to-participants --subscribersCsv <subscribers-csv-file> --output <output-csv-file>
|
yarn map-subscribers-to-participants --subscribers-csv <subscribers-csv-file> --output <output-csv-file>
|
||||||
|
|
||||||
# Example:
|
# Example:
|
||||||
# yarn map-subscribers-to-participants --subscribersCsv subscribers.csv --output result.csv
|
# yarn map-subscribers-to-participants --subscribers-csv subscribers.csv --output result.csv
|
||||||
```
|
```
|
@ -24,5 +24,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"map-subscribers-to-participants": "node dist/map-subscribers-to-participants.js"
|
"map-subscribers-to-participants": "node dist/map-subscribers-to-participants.js"
|
||||||
}
|
},
|
||||||
|
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
|
||||||
}
|
}
|
@ -105,6 +105,6 @@
|
|||||||
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
||||||
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
||||||
},
|
},
|
||||||
"include": ["cli"],
|
"include": ["src"],
|
||||||
"exclude": ["dist"],
|
"exclude": ["dist"],
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user