Gina Trapani流行的bash脚本的Python版本。
todo.p的Python项目详细描述
待办事项.py
从bash到python的{a1}端口
依赖性
如果您想让todo.py同时管理git,这只需要GitPython 跟踪相关文件的存储库。运行一次脚本将 你的网址下载它请注意,gitpython是为git --version1.7.2+编写的。
如果您在Windows上,并且在cmd.exe中运行脚本,请安装 Colorama支持“termcolor”。
安装
来自回购协议
如果要在本地(即个人目录)安装副本,可以 只需下载其中一个packages并运行install.sh脚本。
请确保首先运行./install.sh -h。你可以决定你想去哪里 安装的脚本(默认为$HOME/bin/)以及 脚本的别名,例如t或tpy,已写入(默认为 $HOME/.bashrc)。
使用pypi
如果您希望在系统范围内安装,可以使用installtodo.py 来自pypi like so:
$ pip install todo.py
请注意,进行系统范围的安装不会自动创建 供您使用的别名。您必须编辑您的.bashrc或 .bash_profile(或相应的shell配置文件)包含某些内容 大致如下:
alias t='$HOME/bin/todo.py'
黑客攻击
享受、贡献和自由克隆。我在做这个盲板 可能是为了好玩。
重要信息
[1] | By blind, I mean without looking at the source of the original todo.txt-cli project. I’m working solely from my experiences with the script and experimenting with the functionality while adding things I should probably write as patches and send upstream… I’ll wait to finish my version of the project first though. |