big-todo – make virtual TODO files

I wrote a command-line utility to create a virtual TODO file by concatenating directory-level TODO files.

Documentation can be found in the GitHub repo, so I won’t reproduce it here.

The code is just one 47-line .py file. It makes use of an interesting package called glob, which handles recursively finding all of the TODO files with the following one-liner:

glob(os.path.join(parent, f"**/{basename}"))


This was originally posted on jakekara.com

原文链接:big-todo – make virtual TODO files

© 版权声明
THE END
喜欢就支持一下吧
点赞5 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容