Skip to content

minodisk/qiitactl

Repository files navigation

qiitactl Circle CI Coverage Status

Command line interface to manage your posts in Qiita.

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

  1. Create a token at https://qiita.com/settings/applications.
  2. 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

  1. Fork (https://github.com/minodisk/qiitactl/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

minodisk

About

Command line interface to manage the posts in Qiita.

Resources

License

Stars

Watchers

Forks

Packages

No packages published