Skip to content

Commit

Permalink
fix incorrect command
Browse files Browse the repository at this point in the history
  • Loading branch information
Imanpal Singh committed Mar 28, 2022
1 parent f23566d commit a856154
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tool for dumping/exporting your postgres database's table data with custom maski
## Usage

```bash
pg-faker [options] <config>
pgfaker [options] <config>
```

Currently available options are
Expand All @@ -19,7 +19,7 @@ Options:
You can also use this with `npx`

```
npx pg-faker config.js --output=dump.sql
npx pgfaker config.js --output=dump.sql
```

## Configuration
Expand Down Expand Up @@ -77,7 +77,7 @@ You can go ahead and use something like [faker](https://www.npmjs.com/package/@f
## TroubleShooting
If you are facing errors from `internal/process/esm_loader.js`. Do `npm install pg-faker` and then `npx pg-faker`.
If you are facing errors from `internal/process/esm_loader.js`. Do `npm install pgfaker` and then `npx pgfaker`.
For other issues, please raise an issue on [github](https://github.com/imanpalsingh/pg-faker/issues).
## Why?
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"anonymizer",
"mask",
"faker",
"pg-faker",
"pgfaker",
"database"
],
"scripts": {
Expand All @@ -24,7 +24,7 @@
"postversion": "git push && git push --tags"
},
"bin": {
"pg-faker": "./lib/src/index.js"
"pgfaker": "./lib/src/index.js"
},
"author": "Imanpal Singh",
"license": "ISC",
Expand Down

0 comments on commit a856154

Please sign in to comment.