Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 992 Bytes

File metadata and controls

40 lines (25 loc) · 992 Bytes

@gowento/full-stack-developer-challenge-cli-tools

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.

Getting started

This project uses NPM as a dependency manager.

To get started, you should first install all dependencies:

npm i

Usage

generate-sample-locations

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

Development

To run the linter against the standard ESLint config used in Gowento projects:

npm run lint

To run all tests:

npm run test