+example usage
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
dbcecf9970
commit
09a7654f35
2 changed files with 35 additions and 1 deletions
35
ctt.mdwn
35
ctt.mdwn
|
@ -16,6 +16,41 @@ Get ctt from git ([gitweb](http://git.schottelius.org/?p=ctt;a=summary)):
|
|||
|
||||
git clone git://git.schottelius.org/ctt
|
||||
|
||||
## Example usage
|
||||
|
||||
# Track some time
|
||||
% ctt track test
|
||||
Comment: Did some cool work
|
||||
|
||||
# Track for a given time range
|
||||
% ctt track --sd 2013-04-29-1000 --ed 2013-05-29-1200 test
|
||||
Comment: Long working period
|
||||
|
||||
# Track (keep running), but specify different start date
|
||||
% ctt track --sd 2013-04-29-0800 test
|
||||
Comment: Started early today
|
||||
|
||||
# Track without prompting for a comment
|
||||
% ctt track -n test
|
||||
|
||||
# List available projects
|
||||
% ctt listprojects
|
||||
[...]
|
||||
|
||||
# List all entries of this month for project test
|
||||
% ctt report test
|
||||
[...]
|
||||
|
||||
# List all entries from January
|
||||
% ctt report --sd 2013-01-01 --ed 2013-01-31 test
|
||||
|
||||
# List all entries from January matching either rails ruby or cdist
|
||||
% ctt report --sd 2013-01-29 --ed 2013-04-29 -e "(rails|ruby|cdist)" test
|
||||
|
||||
# The same, but case insensitive
|
||||
% ctt report --sd 2013-01-29 --ed 2013-04-29 -e "(rails|ruby|cdist)" -i test
|
||||
|
||||
|
||||
### Mirrors
|
||||
|
||||
* git://github.com/telmich/ctt.git ([github](https://github.com/telmich/ctt))
|
||||
|
|
1
ctt.text
1
ctt.text
|
@ -127,7 +127,6 @@ Comment: Started early today
|
|||
|
||||
# The same, but case insensitive
|
||||
% ctt report --sd 2013-01-29 --ed 2013-04-29 -e "(rails|ruby|cdist)" -i test
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
BUGS
|
||||
|
|
Loading…
Reference in a new issue