mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Samples
- Added more banner samples for taskwarrior.org.
This commit is contained in:
parent
347dda7fa7
commit
afbbc87ec4
3 changed files with 123 additions and 0 deletions
50
doc/misc/run.sample.format
Executable file
50
doc/misc/run.sample.format
Executable file
|
@ -0,0 +1,50 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# Small script to create a fragment of output for display on the front page
|
||||||
|
# of taskwarrior.org, as a teaser.
|
||||||
|
|
||||||
|
rm pending.data completed.data undo.data
|
||||||
|
|
||||||
|
echo 'data.location=.' > x
|
||||||
|
echo '_forcecolor=on' >> x
|
||||||
|
echo 'defaultwidth=95' >> x
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-256.theme' >> x
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo 'color.alternate=' >> x
|
||||||
|
echo 'due=6' >> x
|
||||||
|
echo 'dateformat=YMD-H:N' >> x
|
||||||
|
echo 'dateformat.report=YMD-H:N' >> x
|
||||||
|
echo 'color.due=rgb530' >> x
|
||||||
|
|
||||||
|
echo 'report.list.columns=id,project,priority_long,due,recur,description' >> x
|
||||||
|
echo 'report.list.labels=ID,Pro,Pri,Due,Recur,Description' >> x
|
||||||
|
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
||||||
|
|
||||||
|
# Now the visible part.
|
||||||
|
echo
|
||||||
|
echo '$ task config rc.dateformat YMD-H:N'
|
||||||
|
echo "Are you sure you want to add 'dateformat' with a value of 'YMD-H:N'? (y/n) y"
|
||||||
|
echo 'Config file .taskrc modified.'
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo '$ task add Spa appointment due:20100917-11:30'
|
||||||
|
task rc:x add Lunch with Sue due:20100917-11:30
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo '$ task list'
|
||||||
|
task rc:x list
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo '$ task list rc.dateformat.report=m-d-Y'
|
||||||
|
task rc:x list rc.dateformat.report=m-d-Y
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo '$ task list rc.dateformat.report=YMDHNS'
|
||||||
|
task rc:x list rc.dateformat.report=YMDHNS
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo '$ task list rc.dateformat.report="A, B D, Y (wkV)"'
|
||||||
|
task rc:x list rc.dateformat.report="A, B D, Y (wkV)"
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
38
doc/misc/run.sample.info
Executable file
38
doc/misc/run.sample.info
Executable file
|
@ -0,0 +1,38 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# Small script to create a fragment of output for display on the front page
|
||||||
|
# of taskwarrior.org, as a teaser.
|
||||||
|
|
||||||
|
rm pending.data completed.data undo.data
|
||||||
|
|
||||||
|
echo 'data.location=.' > x
|
||||||
|
echo '_forcecolor=on' >> x
|
||||||
|
echo 'defaultwidth=95' >> x
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/light-256.theme' >> x
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo 'color.alternate=on rgb253' >> x
|
||||||
|
echo 'due=6' >> x
|
||||||
|
echo 'color.due=color0' >> x
|
||||||
|
echo 'color.tagged=color0' >> x
|
||||||
|
|
||||||
|
echo 'report.list.columns=id,project,priority_long,due,recur,description' >> x
|
||||||
|
echo 'report.list.labels=ID,Pro,Pri,Due,Recur,Description' >> x
|
||||||
|
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
||||||
|
|
||||||
|
# Now the visible part.
|
||||||
|
echo
|
||||||
|
echo '$ task add Get stationery supplies proj:office pri:H due:sat +@mall +@weekend'
|
||||||
|
task rc:x add Get stationery supplies proj:office pri:H due:sat +@mall +@weekend
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo '$ task annotate 1 Remember to get batteries'
|
||||||
|
task rc:x annotate 1 Remember to get batteries
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo '$ task annotate 1 I wonder if they have that antique fanfold computer paper'
|
||||||
|
task rc:x annotate 1 I wonder if they have that antique fanfold computer paper
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo '$ task 1 info'
|
||||||
|
task rc:x 1 info
|
||||||
|
|
35
doc/misc/run.sample.recur
Executable file
35
doc/misc/run.sample.recur
Executable file
|
@ -0,0 +1,35 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# Small script to create a fragment of output for display on the front page
|
||||||
|
# of taskwarrior.org, as a teaser.
|
||||||
|
|
||||||
|
rm pending.data completed.data undo.data
|
||||||
|
|
||||||
|
echo 'data.location=.' > x
|
||||||
|
echo '_forcecolor=on' >> x
|
||||||
|
echo 'defaultwidth=95' >> x
|
||||||
|
echo 'monthsperline=3' >> x
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-violets-256.theme' >> x
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo 'color.alternate=' >> x
|
||||||
|
echo 'due=3' >> x
|
||||||
|
|
||||||
|
echo 'report.list.columns=id,project,priority_long,start,due,recur,age_compact,description' >> x
|
||||||
|
echo 'report.list.labels=ID,Project,Pri,Started,Due,Recur,Age,Description' >> x
|
||||||
|
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
||||||
|
|
||||||
|
# Now the visible part.
|
||||||
|
echo
|
||||||
|
echo '$ task add Deposit paycheck due:friday recur:14days +@bank'
|
||||||
|
task rc:x add Deposit paycheck due:friday recur:14days
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo '$ task calendar rc.recurrence.limit=6'
|
||||||
|
task rc:x calendar rc.recurrence.limit=6
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo '$ task list'
|
||||||
|
task rc:x list
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue