- Completed the program that runs through all the commands.
- Compelted the command and spoken copy.
This commit is contained in:
Paul Beckingham 2010-10-09 22:52:33 -04:00
parent fec2af34bc
commit 0bc7dd11a8
2 changed files with 415 additions and 410 deletions

View file

@ -1,293 +1,300 @@
#! /bin/bash #! /bin/bash
rm pending.data completed.data undo.data rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
echo 'data.location=.' > x echo 'data.location=~/.task' > /Users/paul/.taskrc
echo 'color=off' >> x echo 'color=off' >> /Users/paul/.taskrc
echo 'color.summary.background=on gray3' >> x echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
# Basic usage # 2 Basic usage
echo Basic usage -------------------------------------------------------------- echo Basic usage --------------------------------------------------------------
echo task rc:x add Select a free weekend in November echo $ task add Select a free weekend in November
task rc:x add Select a free weekend in November task add Select a free weekend in November
echo task rc:x add Select and book a venue echo $ task add Select and book a venue
task rc:x add Select and book a venue task add Select and book a venue
echo task rc:x add Come up with a guest list echo $ task add Come up with a guest list
task rc:x add Come up with a guest list task add Come up with a guest list
echo task rc:x add Mail invitations echo $ task add Mail invitations
task rc:x add Mail invitations task add Mail invitations
echo task rc:x add Select a caterer echo $ task add Select a caterer
task rc:x add Select a caterer task add Select a caterer
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x log Order a special cake echo $ task log Order a special cake
task rc:x log Order a special cake task log Order a special cake
echo task rc:x 4 duplicate /Mail/Design/ echo $ task 4 duplicate /Mail/Design/
task rc:x 4 duplicate /Mail/Design/ task 4 duplicate /Mail/Design/
echo task rc:x 4 duplicate /Mail/Print/ echo $ task 4 duplicate /Mail/Print/
task rc:x 4 duplicate /Mail/Print/ task 4 duplicate /Mail/Print/
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x 3 done echo $ task 3 done
task rc:x 3 done task 3 done
echo task rc:x list echo $ task list
task rc:x list task list
# Projects exit # TODO move this line down
# 3 Projects
echo Projects -------------------------------------------------------------- echo Projects --------------------------------------------------------------
echo task rc:x add Pay teh rent on teh 31st echo $ task add Pay teh rent on teh 31st
task rc:x add Pay teh rent on teh 31st task add Pay teh rent on teh 31st
echo task rc:x 7 /teh/the/g echo $ task 7 /teh/the/g
task rc:x 7 /teh/the/g task 7 /teh/the/g
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x 7 project:home echo $ task 7 project:home
task rc:x 7 project:home task 7 project:home
echo task rc:x 1-6 project:party echo $ task 1-6 project:party
echo 'All' | task rc:x 1-6 project:party echo 'All' | task 1-6 project:party
echo task rc:x projects echo $ task projects
task rc:x projects task projects
echo task rc:x list project:home echo $ task list project:home
task rc:x list project:home task list project:home
echo task rc:x li pro:par echo $ task li pro:par
task rc:x li pro:par task li pro:par
# Priorities # 4 Priorities
echo Priorities -------------------------------------------------------------- echo Priorities --------------------------------------------------------------
echo task rc:x 1-3,5 priority:H echo $ task 1-3,5 priority:H
echo 'All' | task rc:x 1-3,5 priority:H echo 'All' | task 1-3,5 priority:H
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x 3 pri: echo $ task 3 pri:
task rc:x 3 pri: task 3 pri:
# Tags # 5 Tags
echo Tags -------------------------------------------------------------- echo Tags --------------------------------------------------------------
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x 3,5,6 +mall echo $ task 3,5,6 +mall
echo 'All' | task rc:x 3,5,6 +mall echo 'All' | task 3,5,6 +mall
echo task rc:x long echo $ task long
task rc:x long task long
echo task rc:x list +mall echo $ task list +mall
task rc:x list +mall task list +mall
echo task rc:x 3 -mall echo $ task 3 -mall
task rc:x 3 -mall task 3 -mall
# Modifications # 6 Modifications
echo Modifications -------------------------------------------------------------- echo Modifications --------------------------------------------------------------
echo task rc:x 7 Pay rent at the end of the month echo $ task 7 Pay rent at the end of the month
echo 'Yes' | task rc:x 7 Pay rent at the end of the month echo 'Yes' | task 7 Pay rent at the end of the month
echo task rc:x add music echo $ task add music
task rc:x add music task add music
echo task rc:x 8 prepend Select some echo $ task 8 prepend Select some
task rc:x 8 prepend Select some task 8 prepend Select some
echo task rc:x 8 append for after dinner echo $ task 8 append for after dinner
task rc:x 8 append for after dinner task 8 append for after dinner
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x edit echo $ task edit
#task rc:x edit #task edit
echo task rc:x add Hire a band? echo $ task add Hire a band?
#task rc:x add Hire a band? #task add Hire a band?
echo task rc:x add Hire a band\? echo $ task add Hire a band\?
#task rc:x add Hire a band\? #task add Hire a band\?
echo task rc:x add "Hire a band?" echo $ task add "Hire a band?"
#task rc:x add "Hire a band?" #task add "Hire a band?"
echo task rc:x add -- Hire a band\? +dj echo $ task add -- Hire a band\? +dj
task rc:x add -- Hire a band\? +dj task add -- Hire a band\? +dj
echo task rc:x undo echo $ task undo
echo 'y' | task rc:x undo echo 'y' | task undo
echo task rc:x 1 delete echo $ task 1 delete
echo 'y' | task rc:x 1 delete echo 'y' | task 1 delete
echo task rc:x undo echo $ task undo
echo 'y' | task rc:x undo echo 'y' | task undo
# Info # 7 Info
echo Info -------------------------------------------------------------- echo Info --------------------------------------------------------------
echo task rc:x 1 info echo $ task 1 info
task rc:x 1 info task 1 info
echo task rc:x stats echo $ task stats
task rc:x stats task stats
# Annotations # 8 Annotations
echo Annotations -------------------------------------------------------------- echo Annotations --------------------------------------------------------------
echo task rc:x 1 annotate the 13 looks good echo $ task 1 annotate the 13 looks good
task rc:x 1 annotate the 13 looks good task 1 annotate the 13 looks good
sleep 1 sleep 1
echo task rc:x 1 annotate or the 14th echo $ task 1 annotate or the 14th
task rc:x 1 annotate or the 14th task 1 annotate or the 14th
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x list rc.annotations:full echo $ task list rc.annotations:full
task rc:x list rc.annotations:full task list rc.annotations:full
echo task rc:x list rc.annotations:sparse echo $ task list rc.annotations:sparse
task rc:x list rc.annotations:sparse task list rc.annotations:sparse
echo task rc:x list rc.annotations:none echo $ task list rc.annotations:none
task rc:x list rc.annotations:none task list rc.annotations:none
echo task rc:x 1 denotate 14th echo $ task 1 denotate 14th
task rc:x 1 denotate 14th task 1 denotate 14th
echo task rc:x list echo $ task list
task rc:x list task list
# Configuration # 9 Configuration
echo Configuration -------------------------------------------------------------- echo Configuration --------------------------------------------------------------
echo task rc:x show echo $ task show
task rc:x show task show
echo task rc:x config answer 42 echo $ task config answer forty-two
echo 'y' | task rc:x config answer 42 echo 'y' | task config answer forty-two
echo task rc:x show answer echo $ task show answer
task rc:x show answer task show answer
echo task rc:x config answer echo $ task config answer
echo 'y' | task rc:x config answer echo 'y' | task config answer
echo task rc:x rc.report.list.sort=description+ list echo $ task rc.report.list.sort=description+ list
task rc:x rc.report.list.sort=description+ list task rc.report.list.sort=description+ list
# Defaults # 10 Defaults
echo Defaults -------------------------------------------------------------- echo Defaults --------------------------------------------------------------
echo task rc:x config default.command list echo $ task config default.command list
echo 'y' | task rc:x config default.command list echo 'y' | task config default.command list
echo task rc:x echo $ task
task rc:x task
echo task rc:x config default.priority H echo $ task config default.priority H
echo 'y' | task rc:x config default.priority H echo 'y' | task config default.priority H
echo task rc:x config default.project Work echo $ task config default.project Work
echo 'y' | task rc:x config default.project Work echo 'y' | task config default.project Work
echo task rc:x add New task echo $ task add New task
task rc:x add New task task add New task
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x undo echo $ task undo
echo 'y' | task rc:x undo echo 'y' | task undo
echo task rc:x config default.priority echo $ task config default.priority
echo 'y' | task rc:x config default.priority echo 'y' | task config default.priority
echo task rc:x config default.project echo $ task config default.project
echo 'y' | task rc:x config default.project echo 'y' | task config default.project
# Aliases # 11 Aliases
echo Aliases -------------------------------------------------------------- echo Aliases --------------------------------------------------------------
echo task rc:x config alias.zzz list echo $ task config alias.zzz list
echo 'y' | task rc:x config alias.zzz list echo 'y' | task config alias.zzz list
echo task rc:x zzz echo $ task zzz
task rc:x zzz task zzz
echo $ task z
task z
# Color # 12 Color
echo Color -------------------------------------------------------------- echo Color --------------------------------------------------------------
echo task rc:x config color on echo $ task config color on
echo 'y' | task rc:x config color on echo 'y' | task config color on
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x 1 bg:on_red echo $ task 1 bg:on_red
task rc:x 1 bg:on_red task 1 bg:on_red
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x 1 bg: echo $ task 1 bg:
task rc:x 1 bg: task 1 bg:
echo task rc:x color echo $ task color
task rc:x color task color
echo task rc:x color white on red echo $ task color white on red
task rc:x color white on red task color white on red
echo task rc:x color legend echo $ task color legend
task rc:x color legend task color legend
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme #vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
echo task rc:x color legend echo $ task color legend
task rc:x color legend task color legend
echo task rc:x list echo $ task list
task rc:x list task list
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme #vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
sed 's/blue/red/' x >x2 && mv x2 x sed 's/blue/red/' x >x2 && mv x2 x
echo task rc:x color legend echo $ task color legend
task rc:x color legend task color legend
echo task rc:x list echo $ task list
task rc:x list task list
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme #vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
sed 's/red-//' x >x2 && mv x2 x sed 's/red-//' x >x2 && mv x2 x
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
task rc:x "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
echo man task-color echo $ man task-color
#man task-color #man task-color
# Active tasks # 13 Active tasks
echo Active tasks -------------------------------------------------------------- echo Active tasks --------------------------------------------------------------
echo task rc:x 2 start echo $ task 2 start
task rc:x 2 start task 2 start
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x active echo $ task active
task rc:x active task active
echo task rc:x 2 stop echo $ task 2 stop
task rc:x 2 stop task 2 stop
# Due dates # 14 Due dates
echo Due dates -------------------------------------------------------------- echo Due dates --------------------------------------------------------------
echo task rc:x 1 due:7/31/2010 echo $ task 1 due:7/31/2010
task rc:x 1 due:7/31/2010 task 1 due:7/31/2010
echo task rc:x 1 due:2wks echo $ task 1 due:2wks
task rc:x 1 due:2wks task 1 due:2wks
echo task rc:x 1 due:-2wks echo $ task 1 due:-2wks
task rc:x 1 due:-2wks task 1 due:-2wks
echo task rc:x 1 due:eom echo $ task 1 due:eom
task rc:x 1 due:eom task 1 due:eom
echo task rc:x 2 due:8th echo $ task 2 due:8th
task rc:x 2 due:8th task 2 due:8th
echo task rc:x 2 due:sunday echo $ task 2 due:sunday
task rc:x 2 due:sunday task 2 due:sunday
echo task rc:x 5 due:eow echo $ task 5 due:eow
task rc:x 5 due:eow task 5 due:eow
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x overdue echo $ task overdue
task rc:x overdue task overdue
echo task rc:x rc.dateformat.report:Y-M-DTH:N:SZ list echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
task rc:x rc.dateformat.report:Y-M-DTH:N:SZ list task rc.dateformat.report:Y-M-DTH:N:SZ list
# Calendar # 15 Calendar
echo Calendar -------------------------------------------------------------- echo Calendar --------------------------------------------------------------
echo task rc:x calendar echo $ task calendar
task rc:x calendar task calendar
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc #vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
echo task rc:x calendar echo $ task calendar
task rc:x calendar task calendar
echo task rc:x cal 2010 echo $ task cal 2010
task rc:x cal 2010 task cal 2010
echo task rc:x rc.calendar.details:full cal echo $ task rc.calendar.details:full cal
task rc:x rc.calendar.details:full cal task rc.calendar.details:full cal
echo task rc:x rc.calendar.holidays:full cal echo $ task rc.calendar.holidays:full cal
task rc:x rc.calendar.holidays:full cal task rc.calendar.holidays:full cal
# Recurrence # 16 Recurrence
echo Recurrence -------------------------------------------------------------- echo Recurrence --------------------------------------------------------------
echo task rc:x 7 info echo $ task 7 info
task rc:x 7 info task 7 info
echo task rc:x 7 due:eom recur:monthly echo $ task 7 due:eom recur:monthly
task rc:x 7 due:eom recur:monthly task 7 due:eom recur:monthly
echo task rc:x 7 echo $ task 7
task rc:x 7 task 7
echo task rc:x 7 until:eoy echo $ task 7 until:eoy
task rc:x 7 until:eoy task 7 until:eoy
echo task rc:x recurring echo $ task recurring
task rc:x recurring task recurring
echo task rc:x add Pay taxes due:4/15/2007 recur:yearly echo $ task add Pay taxes due:4/15/2007 recur:yearly
task rc:x add Pay taxes due:4/15/2007 recur:yearly task add Pay taxes due:4/15/2007 recur:yearly
echo task rc:x long echo $ task long
task rc:x long task long
echo task rc:x 11 delete echo $ task 11 delete
printf "y\ny\n" | task rc:x 11 delete # y, y printf "y\ny\n" | task 11 delete # y, y
echo task rc:x list echo $ task list
task rc:x list task list
# Shell # 17 Shell
echo Shell -------------------------------------------------------------- echo Shell --------------------------------------------------------------
echo task rc:x shell echo $ task shell
#task rc:x shell #task shell
echo '> projects' echo '> projects'
#> projects #> projects
echo '> tags' echo '> tags'
@ -297,103 +304,102 @@ echo '> list'
echo '> quit' echo '> quit'
#> quit #> quit
# Special tags # 18 Special tags
echo Special tags -------------------------------------------------------------- echo Special tags --------------------------------------------------------------
echo task rc:x 6 +nocolor echo $ task 6 +nocolor
task rc:x 6 +nocolor task 6 +nocolor
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x tags echo $ task tags
task rc:x tags task tags
echo task rc:x 6 -nocolor echo $ task 6 -nocolor
task rc:x 6 -nocolor task 6 -nocolor
# Waiting # 19 Waiting
echo Waiting -------------------------------------------------------------- echo Waiting --------------------------------------------------------------
echo task rc:x add Look for new apartment due:eoy echo $ task add Look for new apartment due:eoy
task rc:x add Look for new apartment due:eoy task add Look for new apartment due:eoy
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x 10 wait:12/1/2010 echo $ task 10 wait:12/1/2010
task rc:x 10 wait:12/1/2010 task 10 wait:12/1/2010
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x waiting echo $ task waiting
task rc:x waiting task waiting
echo task rc:x add Do something in a few seconds echo $ task add Do something in a few seconds
task rc:x add Do something in a few seconds task add Do something in a few seconds
echo task rc:x 11 wait:5s echo $ task 11 wait:5s
task rc:x 11 wait:5s task 11 wait:5s
echo task rc:x list echo $ task list
task rc:x list task list
sleep 5 sleep 5
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x 11 rc.confirmation:no delete echo $ task 11 rc.confirmation:no delete
task rc:x 11 rc.confirmation:no delete task 11 rc.confirmation:no delete
# Dependencies # 20 Dependencies
echo Dependencies -------------------------------------------------------------- echo Dependencies --------------------------------------------------------------
echo $ task list pro:party
task list pro:party
echo $ task 3 depends:6
task 3 depends:6
echo $ task 6 dep:5
task 6 dep:5
echo $ task 2 dep:1
task 2 dep:1
echo $ task 5 dep:1,2
task 5 dep:1,2
echo $ task 4 dep:1
task 4 dep:1
echo $ task long pro:party
task long pro:party
echo $ task 5 dep:-1
task 5 dep:-1
echo $ task blocked
task blocked
echo $ task unblocked
task unblocked
echo $ task 1 info
task 1 info
echo $ task 2 info
task 2 info
echo $ task 2 done
echo 'y' | task 2 done
echo $ task 1 info
task 1 info
echo task rc:x list pro:party # 21 Reports
task rc:x list pro:party
echo task rc:x 3 depends:6
task rc:x 3 depends:6
echo task rc:x 6 dep:5
task rc:x 6 dep:5
echo task rc:x 2 dep:1
task rc:x 2 dep:1
echo task rc:x 5 dep:1,2
task rc:x 5 dep:1,2
echo task rc:x 4 dep:1
task rc:x 4 dep:1
echo task rc:x long pro:party
task rc:x long pro:party
echo task rc:x 5 dep:-1
task rc:x 5 dep:-1
echo task rc:x blocked
task rc:x blocked
echo task rc:x unblocked
task rc:x unblocked
echo task rc:x 1 info
task rc:x 1 info
echo task rc:x 2 info
task rc:x 2 info
echo task rc:x 2 done
echo 'y' | task rc:x 2 done
echo task rc:x 1 info
task rc:x 1 info
# Reports
echo Reports -------------------------------------------------------------- echo Reports --------------------------------------------------------------
echo task rc:x minimal echo $ task minimal
task rc:x minimal task minimal
echo task rc:x ls echo $ task ls
task rc:x ls task ls
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x long echo $ task long
task rc:x long task long
echo task rc:x all echo $ task all
task rc:x all task all
echo task rc:x completed echo $ task completed
task rc:x completed task completed
echo task rc:x recurring echo $ task recurring
task rc:x recurring task recurring
echo task rc:x waiting echo $ task waiting
task rc:x waiting task waiting
echo task rc:x blocked echo $ task blocked
task rc:x blocked task blocked
echo task rc:x oldest echo $ task oldest
task rc:x oldest task oldest
echo task rc:x newest echo $ task newest
task rc:x newest task newest
echo task rc:x timesheet echo $ task timesheet
task rc:x timesheet task timesheet
echo task rc:x next echo $ task next
task rc:x next task next
# Custom report # 22 Custom report
echo Custom report -------------------------------------------------------------- echo Custom report --------------------------------------------------------------
echo 'report.foo.description=My own report' >> x echo 'report.foo.description=My own report' >> x
echo 'report.foo.columns=id,entry,description' >> x echo 'report.foo.columns=id,entry,description' >> x
@ -401,71 +407,71 @@ echo 'report.foo.labels=ID,Entered,Description' >> x
echo 'report.foo.sort=entry+,description+' >> x echo 'report.foo.sort=entry+,description+' >> x
echo 'report.foo.filter=status:pending' >> x echo 'report.foo.filter=status:pending' >> x
echo 'task help | grep foo' echo 'task help | grep foo'
task rc:x help | grep foo task help | grep foo
echo task rc:x show report.foo echo $ task show report.foo
task rc:x show report.foo task show report.foo
echo task rc:x foo echo $ task foo
task rc:x foo task foo
# Charts # 23 Charts
echo Charts -------------------------------------------------------------- echo Charts --------------------------------------------------------------
echo task rc:x history echo $ task history
task rc:x history task history
echo task rc:x history.annual echo $ task history.annual
task rc:x history.annual task history.annual
echo task rc:x ghistory echo $ task ghistory
task rc:x ghistory task ghistory
echo task rc:x ghistory.annual echo $ task ghistory.annual
task rc:x ghistory.annual task ghistory.annual
echo task rc:x rc.color.summary.background:"on gray3" summary echo $ task rc.color.summary.background:"on gray3" summary
task rc:x rc.color.summary.background:"on gray3" summary task rc.color.summary.background:"on gray3" summary
# Advanced filters # 24 Advanced filters
echo Advanced filters -------------------------------------------------------------- echo Advanced filters --------------------------------------------------------------
echo task rc:x list echo $ task list
task rc:x list task list
echo task rc:x list invit echo $ task list invit
task rc:x list invit task list invit
echo task rc:x list description.contains:invit echo $ task list description.contains:invit
task rc:x list description.contains:invit task list description.contains:invit
echo task rc:x list desc.word:the echo $ task list desc.word:the
task rc:x list desc.word:the task list desc.word:the
echo task rc:x list desc.noword:invitations echo $ task list desc.noword:invitations
task rc:x list desc.noword:invitations task list desc.noword:invitations
echo task rc:x list pro:party echo $ task list pro:party
task rc:x list pro:party task list pro:party
echo task rc:x list pro.is:party echo $ task list pro.is:party
task rc:x list pro.is:party task list pro.is:party
echo task rc:x list pro.not:party echo $ task list pro.not:party
task rc:x list pro.not:party task list pro.not:party
echo task rc:x list pro:party priority.over:L echo $ task list pro:party priority.over:L
task rc:x list pro:party priority.over:L task list pro:party priority.over:L
echo task rc:x list pro:party limit:2 echo $ task list pro:party limit:2
task rc:x list pro:party limit:2 task list pro:party limit:2
echo task rc:x list limit:page echo $ task list limit:page
task rc:x list limit:page task list limit:page
echo task rc:x all status:pending echo $ task all status:pending
task rc:x all status:pending task all status:pending
echo task rc:x all status:waiting echo $ task all status:waiting
task rc:x all status:waiting task all status:waiting
# Import/export # 25 Import/export
echo Import/export -------------------------------------------------------------- echo Import/export --------------------------------------------------------------
echo task rc:x export.csv echo $ task export.csv
task rc:x export.csv task export.csv
echo task rc:x export.csv venue echo $ task export.csv venue
task rc:x export.csv venue task export.csv venue
task rc:x export.vcalendar venue echo $ task export.vcalendar venue
task rc:x export.vcalendar venue task export.vcalendar venue
task rc:x export.yaml venue echo $ task export.yaml venue
task rc:x export.yaml venue task export.yaml venue
cat <<EOF >file.text cat <<EOF >file.text
Remember to read the task man page Remember to read the task man page
EOF EOF
cat file.text cat file.text
echo task rc:x import file.text echo $ task import file.text
printf "y\n" | task rc:x import file.text printf "y\n" | task import file.text
cat <<EOF >file.yaml cat <<EOF >file.yaml
%YAML 1.1 %YAML 1.1
@ -481,32 +487,32 @@ cat <<EOF >file.yaml
... ...
EOF EOF
cat file.yaml cat file.yaml
echo task rc:x import file.yaml echo $ task import file.yaml
printf "y\n" | task rc:x import file.yaml printf "y\n" | task import file.yaml
echo task rc:x new limit:2 echo $ task new limit:2
task rc:x new limit:2 task new limit:2
# Help # 26 Help
echo Help -------------------------------------------------------------- echo Help --------------------------------------------------------------
echo task rc:x help echo $ task help
task rc:x help task help
echo man task echo $ man task
#man task #man task
echo man taskrc echo $ man taskrc
#man taskrc #man taskrc
echo man task-color echo $ man task-color
#man task-color #man task-color
echo man task-tutorial echo $ man task-tutorial
#man task-tutorial #man task-tutorial
echo man task-faq echo $ man task-faq
#man task-faq #man task-faq
echo man task-sync echo $ man task-sync
#man task-sync #man task-sync
# Wrap up # 27 Wrap up
echo Wrap up -------------------------------------------------------------- echo Wrap up --------------------------------------------------------------
echo task rc:x version echo $ task version
task rc:x version task version
exit exit

View file

@ -1,8 +1,7 @@
[Make window 116x32] [Make window 116x32 for movie recording, light text, dark background]
Although currently incomplete, this is the script from which a 1.9.3-specific This is the script from which a 1.9.3-specific movie will be made. On the left
movie will be made. On the left are the typed commands, and on the right is the are the typed commands, and on the right is the voice track.
spoken track.
It is intended that the left and right be combined and the result will be a new It is intended that the left and right be combined and the result will be a new
task-tutorial.5 man page. task-tutorial.5 man page.
@ -244,7 +243,7 @@ task list
project, and uses bold to identify any tasks with the project, and uses bold to identify any tasks with the
keyword 'invitations' in the description. keyword 'invitations' in the description.
task rc:x "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
man task-color There is a man page with a writeup of all the color man task-color There is a man page with a writeup of all the color
capabilities. capabilities.
@ -315,7 +314,7 @@ task list the recurrences of a task.
---------------------------------------- Shell ----------------------------------------------------- ---------------------------------------- Shell -----------------------------------------------------
task rc:x shell You can use the shell command to create a more immersive task shell You can use the shell command to create a more immersive
task> projects environment. Any task command you run outside the shell task> projects environment. Any task command you run outside the shell
task> tags can also be run inside the shell, without the need to prefix task> tags can also be run inside the shell, without the need to prefix
task> list every command with "task". task> list every command with "task".
@ -323,13 +322,13 @@ task> quit
---------------------------------------- Special Tags ---------------------------------------------- ---------------------------------------- Special Tags ----------------------------------------------
task rc:x 6 +nocolor You've seen tags, but there are also 'special tags' that task 6 +nocolor You've seen tags, but there are also 'special tags' that
task rc:x list have effects on individual tasks. The 'nocolor' special task list have effects on individual tasks. The 'nocolor' special
tag causes the color rules to be bypassed. tag causes the color rules to be bypassed.
task rc:x tags Special tags are highlighted by the 'tags' command. task tags Special tags are highlighted by the 'tags' command.
task rc:x 6 -nocolor There are others - the 'nonag' special tag prevents the task 6 -nocolor There are others - the 'nonag' special tag prevents the
generation of nag messages when you work on low priority generation of nag messages when you work on low priority
tasks when there are more important ones. tasks when there are more important ones.