This project is the “CLI Tools” part of the Gowento Fullstack Developer Challenge.
It is set of commands-line tools, and was bootstrapped with create-esm.
This project uses NPM as a dependency manager.
To get started, you should first install all dependencies:
npm i
The generate-sample-locations
allows you to randomly generate a sample of franchisee locations and persist it to a CSV file.
# Generate 1000 random locations and store them in the `./sample-locations.csv` file
npm run generate-sample-locations -- -n 1000 --file ./sample-locations.csv
To run the linter against the standard ESLint config used in Gowento projects:
npm run lint
To run all tests:
npm run test