A CLI for saves the JSON format blog list to documents/*.yml
.
npm install dev-blog-directory-save-json-cli
$ npx save-blog-json [--merge] JSONFILE
Sample of JSON file:
- single blog
{
"name": "Daily Random Photo",
"url": "https://www.dailyrandomphoto.com/",
"author": "dailyrandomphoto"
}
- multi blogs
[
{
"name": "Daily Random Photo",
"url": "https://www.dailyrandomphoto.com/",
"author": "dailyrandomphoto"
},
{
"name": "Daily Random Photo",
"url": "https://dailyrandomphoto.web.app/",
"author": "dailyrandomphoto"
}
]
- dev-blog-directory - A Developer Blog Directory.
- dev-blog-directory-raw - Raw data storage of Developer Blog Directory.
- dev-blog-directory-save - API for save new blogs to dev-blog-directory-raw.
- dev-blog-directory-save-yaml-cli - A CLI for saves the YAML format blog list to
documents/*.yml
.
Copyright (c) 2019 dailyrandomphoto. Licensed under the MIT license.