todoist - Go製のTodoistクライアント
筆者がタスク管理に使っているのがTodoistです。これまで多種多様なタスク管理を試してきましたが撃沈し続けてきた筆者にしてようやくたどり着いた(しかも2年以上継続できている)のがTodoistです。 そんなTodoistのCLIクライアントがtodoist(名前がそのままですが…)です。
todoistの使い方
todoistのコマンドオプションです。タスクやプロジェクトを一覧したり、タスクの作成や削除もできます。最初にsyncを実行して同期します。
$ todoist
NAME:
todoist - Todoist CLI Client
USAGE:
todoist [global options] command [command options] [arguments...]
VERSION:
0.8.0
COMMANDS:
list, l Shows all tasks
show Show task detail
completed-list Shows all completed tasks (only premium user)
add, a Add task
modify, m Modify task
close, c Close task
delete, d Delete task
labels Shows all labels
projects Shows all projects
karma Show karma
sync, s Sync cache
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--color colorize output
--csv output in CSV format
--namespace display parent task like namespace
--indent display children task with indent
--project-namespace display parent project like namespace
--help, -h show help
--version, -v print the version
後はlオプションでタスクを一覧できます。
$ todoist l
204406517 p1 17/4/10(Mon) 18:00 #Team Inbox moongift.co.jp にcom2を追加
:
206146558 p1 17/3/30(Thu) 22:59 #Team Inbox 意識合わせ
さらにIDを指定して詳細を確認できます。
$ todoist show 204406517
ID 204406517
Content moongift.co.jp にcom2を追加
Project #Team Inbox
Labels
Priority p1
DueDate 17/4/10(Mon) 18:00
URL
元々のTodoist APIではすべてのデータが取れません。そのため、todoistを使って表示できるデータがほぼすべてとなっています。とは言え、Todoist APIの実装例として参考になりますし、コマンドを呼び出して自作ツールと連携するのも良さそうです。
todoistはGo製のソフトウェア(ソースコードは公開されていますがライセンスは明記されていません)です。