Finch

一款可爱的小巧的命令行任务管理器。

添加新任务。

> finch add "ship it!"
 ◦ 3. ship it!

列出所有任务。它们以 JSON 格式存储在 .todo 文件中,因此任务可以与单个项目相关联。

> finch ls
 ◦ 1. refactor code
 ◦ 2. request code review
 ◦ 3. ship it!

完成任务!

 > finch do 1
 ✓ 1. refactor code
 ◦ 2. request code review
 ◦ 3. ship it!

以下是 Finch 支持的所有操作。每个命令也提供用法帮助。

> finch help
Available commands:

   add    Create a new task
   do     Complete tasks by ID
   edit   Change the title of a task.
   help   Display general or command-specific help
   ls     List outstanding tasks
   rm     Remove tasks by ID
   swap   Swap the IDs of two tasks.
   undo   Un-complete tasks by ID

有一些命令可以帮助检查或直接修改 .todo 文件。

> finch file help
Available commands:

   help    Display general or command-specific help
   path    Print path to task storage file
   read    Read task storage file
   write   Write stdin to task storage file

安装

最简单的安装方式是使用 Mint 🌱

> mint install mklbtz/finch

或者您可以手动克隆仓库并使用 SwiftPM 构建它。

git clone https://github.com/mklbtz/finch
cd finch
swift build
cp .build/debug/finch /usr/local/bin/