Skip to content
Hatena::Fotolife command line interface (unofficial)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
test
.gitignore
.travis.yml
LICENSE
README.md
package-lock.json
package.json
packages.dhall
spago.dhall

README.md

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

You can’t perform that action at this time.