Home

Awesome

hatena-fotolife-cli

Hatena::Fotolife command life interface (unofficial).

Installation

$ npm install -g hatena-fotolife-cli

Example

$ # show usage
$ hatena-fotolife --help

$ # configure
$ export HATENA_ID='username'
$ export HATENA_API_KEY='apikey'

$ # upload a photo
$ hatena-fotolife upload --title 'special bouzuya icon' ./bouzuya.png
title: special bouzuya icon
url: http://f.hatena.ne.jp/bouzuya/20140818181135

$ # list photos
$ hatena-fotolife list
title: 2014-08-17
url: http://f.hatena.ne.jp/bouzuya/20140817170105
title: bouzuya icon
url: http://f.hatena.ne.jp/bouzuya/20110326224118

$ # show a photo info
$ hatena-fotolife info 20140818181135
title: special bouzuya icon
url: http://f.hatena.ne.jp/bouzuya/20140818181135

$ # update a photo
$ hatena-fotolife update --title 'icon' 20140818181135

$ # delete a photo
$ hatena-fotolife delete 20140818181135

License

MIT

Author

bouzuya <m@bouzuya.net> (http://bouzuya.net)

Badges

Build Status Dependencies status