LoginSignup
6
8

More than 5 years have passed since last update.

リポジトリ内のソースに書かれた TODO や FIXME をざっと見るコマンド

Last updated at Posted at 2018-03-18

Setup

# leasot というライブラリを入れる
npm i -g leasot

# git todo というコマンドを定義
git config --global alias.todo '!leasot --skip-unsupported $(git ls-files)'

実行例

image.png

注釈

このコマンドは、あくまでカジュアルに手元でざっと確認するためのもの。

TODO や FIXME が忘れ去られないようにガチで管理したい場合は JasonEtco/todo のような、TODO, FIXME を Github issue 化してくれるライブラリを導入すれば良い。

6
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
8