diff --git a/README.md b/README.md index 437fdf1..c4440fe 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ You'll need: There are a few ways you can run the package: -1. use npx example: `npx w2m --input=wordpress_export_file.xml` -2. install it via npm: `npm i wordpress-export-to-markdown` then run `w2m --input=wordpress_export_file.xml` +1. use npx example: `npx wordpress-export-to-markdown --input=wordpress_export_file.xml` +2. install it via npm: `npm i wordpress-export-to-markdown` then run `wordpress-export-to-markdown --input=wordpress_export_file.xml` 3. Clone this repository, open your terminal then run `npm install` and then `node index.js`. This will create an `/output` folder filled with your posts and images. diff --git a/package.json b/package.json index 1d44cd9..054d0d1 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,6 @@ "xml2js": "^0.4.22" }, "bin": { - "w2m": "./index.js" + "wordpress-export-to-markdown": "./index.js" } -} \ No newline at end of file +}