2bd2e9f7bde93c03df43f92feba2671f1f9d6561
This patch does 2 things: - Allowing environment variables corresponding to options (e.g. VERBOSE for -v) to be predefined in the user environment instead of having to always use the corresponding option. - Adding namespace TODOTXT_ to those envvars to avoid clashes in user environment todo.action.d scripts can call recursively todo.sh and this patch preserves the options/envvars through the calls. As a bonus, now the user can export in advance one of those variables in his/her environment and it would have the same effect as using the todo.sh corresponding option. export TODOTXT_AUTO_ARCHIVE=0 is same as option -a export TODOTXT_CFG_FILE=CONFIG_FILE is same as option -d CONFIG_FILE export TODOTXT_FORCE=1 is same as option -f export TODOTXT_PRESERVE_LINE_NUMBERS=0 is same as option -n export TODOTXT_PLAIN=1 is same as option -p export TODOTXT_DATE_ON_ADD=1 is same as option -t export TODOTXT_VERBOSE=1 is same as option -v Signed-off-by: Gina Trapani <ginatrapani@gmail.com>
TODO.TXT Manager
Version 2.1
Author: Gina Trapani (ginatrapani@gmail.com)
Last updated: 2/23/2009
Release date: 5/11/2006
License: GPL, http://www.gnu.org/copyleft/gpl.html
More information and mailing list at http://todotxt.com
Gina's deploy branch is here: http://github.com/ginatrapani/todo.txt-cli/tree/master If possible fork from there for most convenient integration.
Description
☑ A simple and extensible shell script for managing your todo.txt file.
http://todotxt.org
Languages
Shell
98.7%
Makefile
1.3%