taskwarrior/src/run
Paul Beckingham 9095cedd5e CLI Samples
- Added a multi-UUID sample test.
2014-05-11 23:57:51 -04:00

56 lines
2.3 KiB
Text
Executable file

# 2.0.0 command line tests:
# Support dropped for multiple quoted terms.
#echo
#echo ./args rc:x rc.debug:1 rc.hyphenate:off list pro:foo \"\(du\<123.due or due.aft:som\)\" and entry \'\>\'8/31/2011 +2w+1d /pattern/
# ./args rc:x rc.debug:1 rc.hyphenate:off list pro:foo "(du<123.due or due.aft:som)" and entry '>'8/31/2011 +2w+1d /pattern/
# Support dropped for multiple quoted terms.
#echo
#echo ./args rc:x rc.debug:1 rc.hyphenate:off list \"pro:foo \(du\<123.due or due.aft:som\) and entry \>8/31/2011 +2w+1d /pattern/\"
#./args rc:x rc.debug:1 rc.hyphenate:off list "pro:foo (du<123.due or due.aft:som) and entry >8/31/2011 +2w+1d /pattern/"
echo
echo ./args rc:x rc.debug:1 1-3,5 7 or +tag modify pri:H /from/to/g -tag
./args rc:x rc.debug:1 1-3,5 7 or +tag modify pri:H /from/to/g -tag
echo
echo ./args rc:x rc.debug:1 add pro:foo due:eom-2wk recur:monthly do the thing
./args rc:x rc.debug:1 add pro:foo due:eom-2wk recur:monthly do the thing
echo
echo ./args rc:x rc.debug:1 add pro:foo -- due:eom-2wk recur:monthly do the thing
./args rc:x rc.debug:1 add pro:foo -- due:eom-2wk recur:monthly do the thing
echo
echo ./args rc:x rc.debug:1 1234 done pri:H
./args rc:x rc.debug:1 1234 done pri:H
echo
echo ./args rc:x rc.debug:1 a.b\<c \(one or two\) modify \'quoted string\' \\'not quoted\\' due:eom+1wk+1d
./args rc:x rc.debug:1 a.b\<c \(one or two\) modify 'quoted string' \'not quoted\' due:eom+1wk+1d
# 2.4.0 command line tests:
echo
echo ./args rc:~/.taskrc 123-128,140 142 mod pro:\'P 1\' +home /from/to/g /from/to/ rc.name=value
./args rc:~/.taskrc 123-128,140 142 mod pro:'P 1' +home /from/to/g /from/to/ rc.name=value
echo
echo ./args rc:~/..taskrc rc.name=value add -- modify +tag /from/to/g name:value /long/path/to/file.txt
./args rc:~/..taskrc rc.name=value add -- modify +tag /from/to/g name:value /long/path/to/file.txt
echo
echo ./args /pattern/ or 8ad2e3db-914d-4832-b0e6-72fa04f6e331,3b6218f9-726a-44fc-aa63-889ff52be442 limit:10 due.before:eom nex
./args /pattern/ or 8ad2e3db-914d-4832-b0e6-72fa04f6e331,3b6218f9-726a-44fc-aa63-889ff52be442 limit:10 due.before:eom nex
echo
echo ./args add Buy milk due:\'eow - 2d\' scheduled:due-1d
./args add Buy milk due:'eow - 2d' scheduled:due-1d
echo
echo ./args add Buy milk due:eow-2d scheduled:due-1d
./args add Buy milk due:eow-2d scheduled:due-1d