A cli tool for generating markdown files by using WP REST API
npm i -g warkdown
Options:
-v, --version output the version number
-e, --entry <s> specify the entrypoint of your WP REST API
-o, --output <s> specify the location of directory where the md files will be generated (default: "docs")
-h, --help output usage information
warkdown -e https://example.com/wp-json/wp/v2/posts/
warkdown -e https://example.com/wp-json/wp/v2/posts/ -o dist
MIT