tests/filehandling.t @ 831123b0359f
Apply quiet/verbose to task adding, fix tests
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Sat, 11 Apr 2020 11:39:16 -0400 |
parents | a882490073a1 |
children | (none) |
Setup: $ alias xt="python $TESTDIR/../t.py --task-dir `pwd` --list test" Add a task file: $ ls -a . .. $ xt $ ls -a . .. $ xt Sample. a $ ls -a . .. .test.done test Finish a task without deleting: $ xt -f a $ ls -a . .. .test.done test Finish a task with deleting: $ xt Another. c $ xt --delete-if-empty -f c $ ls -a . .. .test.done