Separating the 'task shell' command in a separate executable 'tasksh' and enabling command history traversal using GNU Readline

This commit is contained in:
Haitham Gad 2013-03-09 19:00:56 -05:00 committed by Paul Beckingham
parent 69a23b05a9
commit f5d6da2a7b
34 changed files with 408 additions and 681 deletions

View file

@ -1897,95 +1897,6 @@ Deleting recurring task 14 'Pay taxes'.
Deleting recurring task 15 'Pay taxes'.
.RE
.SH SHELL
You can use the shell command to create a more immersive environment. Any task
command you run outside the shell can also be run inside the shell, without the
need to prefix every command with "task".
.RS
$ task shell
.br
task 1.9.4 shell
.br
.br
Enter any task command (such as 'list'), or hit 'Enter'.
.br
There is no need to include the 'task' command itself.
.br
Enter 'quit' to end the session.
.br
.br
task>
.br
task> projects
.br
.br
Project Tasks Pri:None Pri:L Pri:M Pri:H
.br
------- ----- -------- ----- ----- -----
.br
7 7 0 0 0
.br
home 2 2 0 0 0
.br
party 6 3 0 0 3
.br
.br
3 projects (15 tasks)
.br
task> tags
.br
.br
Tag Count
.br
mall 2
.br
.br
1 tag (15 tasks)
.br
task> list
.br
.br
ID Project Pri Due Active Age Description
.br
-- ------- --- ---------- ------ ----- ------------------------------------
.br
2 party H 10/17/2010 2 hrs Select and book a venue
.br
2010/10/16 11:20 Started task
.br
2010/10/16 11:21 Stopped task
.br
5 party H 10/22/2010 2 hrs Design invitations
.br
1 party H 10/31/2010 2 hrs Select a free weekend in November
.br
2010/10/16 00:00 the 13th looks good
.br
9 home 10/31/2010 1 hr Pay rent at the end of the month
.br
8 1 hr Select some Music for after dinner
.br
3 party 2 hrs Mail invitations
.br
4 party 2 hrs Select a caterer
.br
6 party 2 hrs Print invitations
.br
.br
8 tasks
.br
task> quit
.RE
.SH SPECIAL TAGS
You've seen tags, but there are also 'special tags' that have effects on
individual tasks. The 'nocolor' special tag causes the color rules to be