Open linuxcaffe opened 10 years ago
and how about
trev> :! arbitrary shell command
just like issuing an arbitrary command in vit.
See closed issue #7 about a search command (forward and backward, suggests linuxcaffe).
See closed issue #10 for Moving to task n as a command.
Thinking about how to add new functions and behaviors, I realize that every new thing makes it harder and harder to parse the command-line, mixing trev commands and taskwarrior commands could be quite complicated. So I looked to the perl shell for ideas, and I see that the few perl shell commands are preceded with a ":". (http://search.cpan.org/dist/Shell-Perl/lib/Shell/Perl.pm#COMMANDS) Using this model, it should be easy to parse, and easier to add new commands, without confusing them with tw commands.
Some of the current "prompt options" are already elegant and easy-to parse (+, -, q, quit, exit, bye) when issued alone at the prompt, so they should continue to be available without ":", but as they ARE trev commands, they should also be valid with a leading ":".
The "back" command would then be
New trev commands should be preceded with ":". New commands like
to display a concise reference of available commands and keystroke help
Other ideas for new trev commands should be filed as separate issues, referencing this one.