管理全部列表

todotxt-cli的Python项目详细描述


TODOXT命令行

用于manage todolist的Python cli

安装

pip install todotxt-cli

或者

^{pr2}$

您可以通过

python -m unittest discover -s test

用法

>> todo
Usage: todo [OPTIONS] COMMAND [ARGS]...

Options:
    -vv, --verbose
    -c, --conf FILENAME
    --version            Show the version and exit.
    --help               Show this message and exit.

Commands:
    add       add task
    append    append task
    cancel    cancel words in task
    done      done task
    due       change due of task
    ls        list of tasks
    priority  change priority of task
    prune     remove task if done and today - x days >= completed x is 10 by...
    repeat    repeat add param in task for manage repeat
    rm        remove task
    txt       change txt of task and save due
    undone    undone task

使用示例

>> todo ls
>> todo add test One
    [ ] 0 test One
>> todo add test two due:2019-11-01
    [ ] 1 test two due:2019-11-01
>> todo add test Three
    [ ] 2 test Three
>> todo ls
    [ ] 0 test One
    [ ] 1 test two due:2019-11-01
    [ ] 2 test Three
>> todo rm 2
>> todo ls
    [ ] 0 test One
    [ ] 1 test two due:2019-11-01
>> todo done 1
    [X] 1 test two due:2019-11-01
>> todo ls
    [ ] 0 test One
    [X] 1 test two due:2019-11-01
>> todo append 1 +project
    [X] 1 test two due:2019-11-01 +project
>> todo ls
    [ ] 0 test One
    [X] 1 test two due:2019-11-01 +project

配置

您可以在应用程序文件夹中添加conf文件

Mac OS X: ~/Library/应用程序支持/todocli

Mac OS X(POSIX): ~/.托多克利

Unix系统: ~/.config/todocli

Unix(POSIX): ~/.托多克利

Win XP(漫游): C: 文档和设置<;用户>;本地设置应用程序数据ToDocli

Win XP(非漫游): C: 用户和应用程序设置

Win 7(漫游): C: 用户<;用户>;AppDataRoamingtodocli

Win 7(不漫游): C: 用户<;用户>;AppDataLocaltodocli

文件配置示例

[Todo]
Log=40 #0,10,20,30,40
Path=todo.txt
ColorContext=blue
ColorDue=red
ColorProject=yellow
ColorNow=blue
ColorEarlier=red
ColorNext=black

使用特定的配置

>> todo -c myconf.conf ls

如果要多个todolist:

  • 托多
  • 购物

创建一个特定的conf:$HOME/购物网有:

[Todo]
Path=shopping.txt

加个别名

alias shopping="todo -c $HOME/shopping.conf"

你可以用

shopping ls

如果使用webdav保存文件(使用用户/密码验证)

[Todo]
Url=http://mywebdav/todo.txt
User=user
Password=password

如果你想加载一个webdav服务器,你可以使用docker

docker run -d -v <localpath>:/share --name webdav -p 80:80 fraoustin/webdav

功能

  • 图形
  • 单击unittest

五、 0.1.0款

  • 初始化

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java向嵌入式Jetty添加多个端点   java如何在JAXWS处理程序中区分请求和响应?   使用Scenebuilder for JAVAFx的登录应用程序的java MVC体系结构   java对话框将不显示   Windows 7上的Java系统变量   java删除动态添加的面板   java将Javadoc嵌入到HTML网站中   带有URL编码数据的java Spring RestTemplate POST请求   java JAXR只运行一次函数   HttpClient缺少java依赖项   java深层反射比较   基于javarmi和CORBA的分布式计算   如何使用当前数据库时间从Java更新MongoDB?   java通过光标保存数据调试时显示错误数据