From 5850ece843035a6a294ec497dad0878428116623 Mon Sep 17 00:00:00 2001 From: Jason Lloyd Date: Thu, 16 Jan 2020 19:29:03 +0000 Subject: [PATCH] Change command to match repo --- README.md | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 +}