From a8561543009b58b85e9760187424359e578b21a9 Mon Sep 17 00:00:00 2001 From: Imanpal Singh Date: Mon, 28 Mar 2022 21:01:19 +0530 Subject: [PATCH] fix incorrect command --- ReadMe.md | 6 +++--- package.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index e05925d..42c0e25 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -5,7 +5,7 @@ Tool for dumping/exporting your postgres database's table data with custom maski ## Usage ```bash -pg-faker [options] +pgfaker [options] ``` Currently available options are @@ -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 @@ -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? diff --git a/package.json b/package.json index c8ea828..78c9a8e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "anonymizer", "mask", "faker", - "pg-faker", + "pgfaker", "database" ], "scripts": { @@ -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",