sodaware.github.com / php-todolist
Simple TODO list generator
- Homepage
- http://www.sodaware.net/dev/tools/php-todolist/
- Version
- 1.0
- Release Date
- 20th March, 2011
- Licence
- BSD
- Source
- http://github.com/sodaware/php-todolist/
Description
This is a simple PHP script that can scan a collection of files for comment tags
that contain tasks, such as TODO:
or KLUDGE:
. There are two parts: the
ToDoParser class, which does most of the grunt work, and the frontend which is
used from the command line.
The get-todo and get-todo.bat scripts make things little cleaner to use but aren't essential.
Installation
The command line client requires the following PEAR packages:
- Console_Color
- Console_CommandLine
The parser supports Console_Color but does not require it.
Usage
Usage: todo.php [options] <files...> Options: -v, --verbose Turn on verbose output (such as stats) -c config, --config=config The config file to load -f, --format Turn on colour formatting -r, --recurse Recurse directories when scanning -h, --help show this help message and exit --version show the program version and exit Arguments: files list of files or directories to scan Example: get-todo -vf -c php todo.php
Will fetch all PHP tasks from todo.php, and will output with colours and display statistics.