一个用Go编写的简单的命令行ToDo应用程序
安装
-
从源代码构建
克隆存储库:
git clone https://github.com/rxyhn/ToDo.git运行以下命令:
cd ToDo
go build ./cmd/todo
./todo # This will be built inside the ToDo/ directory
用法
Usage of ./todo:
-add
add a new todo
-complete int
mark a todo as completed
-del int
delete a todo
-list
list all todos