tests/manual.t @ 2d2bbd81ed58

Added remove task functionality.
author chanux <chanuka@thinkcube.net>
date Fri, 09 Sep 2011 14:13:59 +0530
parents 7cbbec2d86e1
children 65b004631139
Setup:

  $ alias xt="python $TESTDIR/../t.py --task-dir `pwd` --list test"

Create a task file manually (no IDs):

  $ cat >> test << EOF
  > Sample one.
  > Sample two.
  > EOF
  $ xt
  3 - Sample one.
  7 - Sample two.

Add some manual tasks:

  $ echo 'Custom one. | id: custom1' >> test
  $ echo 'Custom two. | id: custom2' >> test
  $ xt
  3       - Sample one.
  7       - Sample two.
  custom1 - Custom one.
  custom2 - Custom two.

Rewrite the task file:

  $ cat > test << EOF
  > New.
  > EOF
  $ xt
  5 - New.