-
Notifications
You must be signed in to change notification settings - Fork 17
config options
SigmaVirus24 edited this page May 25, 2012
·
2 revisions
| Variable | Values |
|---|---|
TODO_DIR |
/path/to/dir |
TODOTXT_CFG_FILE |
$TODO_DIR/config |
TODO_FILE |
$TODO_DIR/todo.txt |
DONE_FILE |
$TODO_DIR/done.txt |
TMP_FILE |
$TODO_DIR/file.txt |
REPORT_FILE |
$TODO_DIR/file.txt |
TODO_ACTIONS_DIR |
/path/to/dir |
ACTIONS |
"list,of,addons |
TODOTXT_DEFAULT_ACTION |
command |
PLAIN |
0, 1, False, True |
NO_PRI |
0, 1, False, True |
PRE_DATE |
0, 1, False, True |
INVERT |
0, 1, False, True |
HIDE_PROJ |
0, 1, False, True |
HIDE_CONT |
0, 1, False, True |
HIDE_DATE |
0, 1, False, True |
LEGACY |
0, 1, False, True |
USE_GIT |
0, 1, False, True |
PRI_[A-X] |
colors |
-
TODO_DIRtells the script where to look the files related to your todo set-up. -
TODOTXT_CFG_FILEis the location of your configuration file. It defaults to the value above. -
TODO_FILEis the location of the actual text file holding your precious todos. It defaults to the value above. -
DONE_FILEis where the script will place items you mark as done. Again, it defaults to the above value -
TMP_FILEis not used bytodo.pybut is a hold-over fromtodo.sh. -
REPORT_FILEis not yet used bytodo.pybut we will add that feature if enough anyone requests it. -
TODO_ACTIONS_DIRis where you can store the addons for bothtodo.pyandtodo.sh. This may contain both shell scripts and python modules. -
ACTIONSthis is a listing of actions specifically written fortodo.pyin python. -
TODOTXT_DEFAULT_ACTIONis the default action of the script. This allows you to just invoketodo.pywith no arguments and it will perform the action automattically. This defaults tolist. -
PLAINwill force the script to print without the ANSI color codes if set to True or 1. -
NO_PRIstrips the todos of priority before printing them if set to True or 1. -
PRE_DATEwill force the script to place the creation date at the beginning of a new todo if set to True or 1. -
INVERTwill invert the colors used if set to True or 1. -
HIDE_PROJwill strip all projects from the todos before printing if set to True or 1. -
HIDE_CONTwill strip all contexts from the todos before printing if set to True or 1. -
HIDE_DATEwill strip all dates from the todos before printing if set to True or 1. -
LEGACYwill sort the todos a second time to display them exactly astodo.shsorted them (alphabetically after priority) when set to True or 1. -
USE_GITwill tell the script to use the git bindings provided by GitPython to manageTODO_DIRas a git repository when set to True or 1. -
PRI_[A-X]lets you set the default coloring for any of the priorities. Those which aren't set, default to nothing.
$BLUE$BROWN$LIGHT_PURPLE$LIGHT_GREY$PURPLE$YELLOW$LIGHT_RED$LIGHT_CYAN$BLACK$LIGHT_GREEN$CYAN$GREEN$LIGHT_BLUE$DARK_GREY$WHITE$RED