qiitactl

command module
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2016 License: MIT Imports: 5 Imported by: 0

README

qiitactl Circle CI Coverage Status

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
  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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL