alfred-qiita-workflow
alfred-qiita-workflow copied to clipboard
Qiita on Alfred
Alfred Qiita Workflow
Installation
Download latest version of Alfred Qiita Workflow and double-click Qiita.alfredworkflow
to install it.
Commands
Search articles
qiita search <query>
Setup personal access token
Get Personal Access Token which have a scope for read_qiita and put it on:
qiita setup <personal access token>
List and search stocked articles
You MUST set access token in advance.
qiita stocks <query:optional>
List and search your articles
You MUST set access token in advance.
qiita my <query:optional>
Contributing
Fork project
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Development installation
Run following commands to link this workflow with Alfred.
$ go get github.com/uetchy/alfred-qiita-workflow
$ cd $GOPATH/github.com/uetchy/alfred-qiita-workflow
$ make build
$ make link
If you put Alfred settings to another location, you should run following lines:
$ ALFRED_WORKFLOW_PATH=/path/to/Alfred.alfredpreferences/workflows make link
You can find Alfred preferences path by mdfind
command:
$ mdfind Alfred.alfredpreferences