Command line interface to manage your posts in Qiita.
qiitactl
can fetch your posts from Qiita and write them as markdown files to your local. After you edit the file in the editor you like, qiitactl update post path/to/file.md
. Then, the post will be updated in Qiita. You can also generate a new file for post, create a new post from the file and delete a post with this tool.
- Create a token at https://qiita.com/settings/applications.
- Set the created token to
QIITA_ACCESS_TOKEN
environment variable.
qiitactl fetch posts
qiitactl update post path/to/file.md
qiitactl generate file "The title of new post"
vim path/to/file.md
qiitactl create post path/to/file.md
qiitactl help
To install, use go get
:
go get github.com/minodisk/qiitactl
- Fork (https://github.com/minodisk/qiitactl/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request