Added addon to remove several tasks at once.

Toni Penya-Alba
2013-12-09 07:44:11 -08:00
parent b56c22339d
commit 4edec08967

@@ -40,6 +40,7 @@ h3. Table of Contents
** "top - Shows as many tasks as you can see in your terminal":#top
** "XP - print a readable guide of your accomplishments.":#xp
** "pri - change the priority of several tasks at once.":#pri
** "rm - remove several tasks at once.":#rm
h1(#install). Installation
@@ -609,3 +610,24 @@ TODO: 45 prioritized (A).
"Project page":https://github.com/tonipenya/todo.txt-cli/blob/addons/.todo.actions.d/pri
"Download file":https://raw.github.com/tonipenya/todo.txt-cli/addons/.todo.actions.d/pri
h2(#rm). rm - remove several tasks at once.
rm ITEM#[, ITEM#, ITEM#, ...]
For each ITEM#, calls command rm. Removes blank lines by calling the archive command.
<pre>
$ todo.sh list @test
45 (A) Another task @test
44 (A) One task @test
--
TODO: 2 of 45 tasks shown
$ todo.sh rm 44 45
44 (A) One task @test
TODO: 44 deleted.
45 (A) Another task @test
TODO: 45 deleted.</pre>
"Project page":https://github.com/tonipenya/todo.txt-cli/blob/addons/.todo.actions.d/rm
"Download file":https://raw.github.com/tonipenya/todo.txt-cli/addons/.todo.actions.d/rm