hatena-blog-cli
v1.0.0
Published
Hatena::Blog command line interface (unofficial)
Downloads
3
Readme
hatena-blog-cli
Hatena::Blog command line interface (unofficial).
Installation
npm install --global hatena-blog-cli
Example
$ # show usage
$ hatena-blog --help
$ # configure
$ export HATENA_USERNAME='username'
$ export HATENA_BLOG_ID='blog id'
$ export HATENA_API_KEY='api key'
$ # create an entry
$ hatena-blog create --title 'special bouzuya entry' bouzuya.md
edit url: https://blog.hatena.ne.jp/bouzuya/bouzuya.hatenablog.com/atom/entry/17680117126990461664
title: special bouzuya entry
url: https://bouzuya.hatenablog.com/entry/2019/03/09/160527
How to build
npm install