hatena-fotolife-cli
v1.0.1
Published
Hatena::Fotolife command line interface (unofficial)
Downloads
1
Maintainers
Readme
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_USERNAME='username'
$ export HATENA_APIKEY='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
Author
bouzuya <[email protected]> (http://bouzuya.net)