Change command to match repo

This commit is contained in:
Jason Lloyd
2020-01-16 19:29:03 +00:00
parent 75e83d3f9e
commit 5850ece843
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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.
+2 -2
View File
@@ -25,6 +25,6 @@
"xml2js": "^0.4.22"
},
"bin": {
"w2m": "./index.js"
"wordpress-export-to-markdown": "./index.js"
}
}
}