qiitactl
Command line interface to manage your posts in Qitta.
Description
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.
Usage
Preparing for use
- Create a token at https://qiita.com/settings/applications.
- Set the created token to
QIITA_ACCESS_TOKEN
environment variable.
Fetch all posts
qiitactl fetch posts
Update a post
qiitactl update post path/to/file.md
Create a new post
qiitactl generate file "The title of new post"
vim path/to/file.md
qiitactl create post path/to/file.md
And more:
qiitactl help
Install
To install, use go get
:
go get github.com/minodisk/qiitactl
Contribution
- 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
Author
minodisk