# Todolists

Todolists in NodeJs Cli

基于 Nodejs 的命令行 Todolist

![img](https://zos.alipayobjects.com/rmsportal/yPkGQThjFECEwbrgPFhs.png)

![gif](https://zos.alipayobjects.com/rmsportal/VnZwiHYkBucmfLvHFWWT.gif)

```

npm install todolists -g

```
use `todo -h` for more infomation

```
    todo add|a <content>     Add new todo item to list                     在 todolist 中增加一未完成项
    remove|r <id>            Remove todo item, -a/--all remove all items   删除其中某一项
    ls                       List  all items in todolist                   展示 todolist 中所有的项目 
    check|c <id>             Check todo item as completed                  完成某一项
    uncheck|uc <id>          Uncheck todo item as pending                  将某一项设置为未完成
    resort                   Resort todo list id                           重置 todolist id

```

