Browse files

small fixes

  • Loading branch information...
1 parent d3050c6 commit 695bd053f9eed596818757b0fbf5b2cd4e6fe04f @KirillTemnov committed Feb 26, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −1 .track.json
  2. +1 −0 Readme.md
  3. +1 −1 lib/strack.coffee
View
2 .track.json
@@ -1 +1 @@
-{"tickets":{"61b7d961d98204063d0cc5b91498fcfc":{"created":"2011-02-25T15:07:20.315Z","modified":"2011-02-25T15:07:20.315Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo Auto search and add todo's bugs and other keywords if they present in sources","id":"61b7d961d98204063d0cc5b91498fcfc","comments":[],"log":[]},"0c520fa874e0214d22e41463493a64ce":{"created":"2011-02-25T15:07:51.549Z","modified":"2011-02-25T15:25:32.825Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +archive for tickets","id":"0c520fa874e0214d22e41463493a64ce","comments":[],"log":[]},"b90ea6db72184a5da1b5ba687ed1dfdc":{"created":"2011-02-25T15:08:11.777Z","modified":"2011-02-25T15:16:11.970Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@fixed Not print Tickets 0/0 if tracker is empty +log","id":"b90ea6db72184a5da1b5ba687ed1dfdc","comments":[],"log":[]},"a2ed65e5c06cd611d8077b92982243ac":{"created":"2011-02-25T15:08:30.760Z","modified":"2011-02-25T17:01:39.254Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Create Readme.md","id":"a2ed65e5c06cd611d8077b92982243ac","comments":[],"log":[]},"220dd79504b4383bd6d10e28835c35fc":{"created":"2011-02-25T15:08:49.346Z","modified":"2011-02-25T15:08:49.346Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +export to html","id":"220dd79504b4383bd6d10e28835c35fc","comments":[],"log":[]},"d9b76b4839b0662f7a242ddef9c1bbec":{"created":"2011-02-25T15:08:52.547Z","modified":"2011-02-25T15:08:52.547Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +export to org","id":"d9b76b4839b0662f7a242ddef9c1bbec","comments":[],"log":[]},"9f7a1ccc1109ca37eff095e3151ed2c9":{"created":"2011-02-25T15:08:55.269Z","modified":"2011-02-25T15:08:55.269Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +export to txt","id":"9f7a1ccc1109ca37eff095e3151ed2c9","comments":[],"log":[]},"bc7815df8b4b45efa9322e295b318ebb":{"created":"2011-02-25T15:09:13.697Z","modified":"2011-02-25T20:52:17.558Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@fixed Update +usage message","id":"bc7815df8b4b45efa9322e295b318ebb","comments":[],"log":[]},"27a6d71d43dbb23ad2fa5364e4c3840b":{"created":"2011-02-25T15:09:33.164Z","modified":"2011-02-25T15:09:33.164Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +sort tickets by last update","id":"27a6d71d43dbb23ad2fa5364e4c3840b","comments":[],"log":[]},"9187b880f1c5d3ab360ac14d172dc53c":{"created":"2011-02-25T15:09:52.281Z","modified":"2011-02-25T17:33:05.543Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Add multiline ticket text support","id":"9187b880f1c5d3ab360ac14d172dc53c","comments":[],"log":[]},"4b5f656f7c3a032fe58c3a61c1dffae3":{"created":"2011-02-25T15:10:12.936Z","modified":"2011-02-25T15:10:12.936Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo Change states for tracker by command line","id":"4b5f656f7c3a032fe58c3a61c1dffae3","comments":[],"log":[]},"89fbbaf51696e0c72466e7b9d4b8a77e":{"created":"2011-02-25T15:11:37.646Z","modified":"2011-02-25T15:11:37.646Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"+feature Use short references for last modified tickets (^0 - ^9)","id":"89fbbaf51696e0c72466e7b9d4b8a77e","comments":[],"log":[]},"50ac7af0b6112bba4c30f8a1f76f7af9":{"created":"2011-02-25T15:14:17.692Z","modified":"2011-02-25T15:24:56.777Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Add config variable for +show / +hide finished tasks/closed tickets","id":"50ac7af0b6112bba4c30f8a1f76f7af9","comments":[],"log":[]},"104cb6fa2891f2d5f426ee9ebd803b7d":{"created":"2011-02-25T15:15:04.559Z","modified":"2011-02-25T17:47:48.929Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Add config var to +show / +hide tickets after adding","id":"104cb6fa2891f2d5f426ee9ebd803b7d","comments":[{"date":"2011-02-25T17:47:32.623Z","author":{"user":"selead","email":"allselead@gmail.com"},"comment":"Add verbose flag to config.\nAfter entering this comment I must see update message.\n","id":"782ad5729707f0d746eec683528845a6"}],"log":[]},"163d02f36f8670d654b94dff04ae33b2":{"created":"2011-02-25T15:15:51.746Z","modified":"2011-02-25T15:15:51.746Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo Write simple tutorial","id":"163d02f36f8670d654b94dff04ae33b2","comments":[],"log":[]},"648895f7a4c3b90a3c8ca76ff9de9eb4":{"created":"2011-02-25T15:26:33.641Z","modified":"2011-02-25T15:32:37.857Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Don't call exception, when user specify not unique id","id":"648895f7a4c3b90a3c8ca76ff9de9eb4","comments":[],"log":[]},"c5064007f1036d312f818ddf9c4e5f82":{"created":"2011-02-25T15:28:12.012Z","modified":"2011-02-25T15:32:43.451Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Don't call exception, when ticket not found","id":"c5064007f1036d312f818ddf9c4e5f82","comments":[],"log":[]},"2a93f699efa2d69402d2b478194a085b":{"created":"2011-02-25T15:28:46.208Z","modified":"2011-02-25T19:51:15.059Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo Use +less +pager for big output","id":"2a93f699efa2d69402d2b478194a085b","comments":[],"log":[]},"ae9809d2ad124b3f9bdacc851bf4c3b5":{"created":"2011-02-25T17:33:54.280Z","modified":"2011-02-25T17:37:55.241Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Add ability to write multiline +comments","id":"ae9809d2ad124b3f9bdacc851bf4c3b5","comments":[{"date":"2011-02-25T17:35:58.680Z","author":{"user":"selead","email":"allselead@gmail.com"},"comment":"Check for ability\nto write multiline comments\n","id":"03e6fe038941774b2689c94b0a04396e"}],"log":[]},"be35869536bad7976ab0c2e21aae4f5c":{"created":"2011-02-25T17:37:01.835Z","modified":"2011-02-25T18:08:14.064Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@fixed Make +info command work","id":"be35869536bad7976ab0c2e21aae4f5c","comments":[],"log":[]},"326a6e41cbf22188b1a500576f3bd59c":{"created":"2011-02-25T17:52:23.167Z","modified":"2011-02-25T17:52:23.167Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"+show doned tickets +feature","id":"326a6e41cbf22188b1a500576f3bd59c","comments":[],"log":[]},"21df0f1fbac4757f11c9d379be6543f1":{"created":"2011-02-25T19:57:19.030Z","modified":"2011-02-25T19:57:19.030Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +touch utility +feature","id":"21df0f1fbac4757f11c9d379be6543f1","comments":[],"log":[]},"b1a4cf2b3b847a6a5544d0b829505bbc":{"created":"2011-02-25T20:01:51.062Z","modified":"2011-02-25T20:01:51.062Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo Ask before create new tracker file","id":"b1a4cf2b3b847a6a5544d0b829505bbc","comments":[],"log":[]},"2bdcbd44ce261346faa496a2387916ac":{"created":"2011-02-25T20:11:49.892Z","modified":"2011-02-25T20:53:23.514Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Create +help command","id":"2bdcbd44ce261346faa496a2387916ac","comments":[],"log":[]}},"states":{"initial":["todo","bug","accept"],"final":["done","fixed","closed"]}}
+{"tickets":{"61b7d961d98204063d0cc5b91498fcfc":{"created":"2011-02-25T15:07:20.315Z","modified":"2011-02-25T15:07:20.315Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo Auto search and add todo's bugs and other keywords if they present in sources","id":"61b7d961d98204063d0cc5b91498fcfc","comments":[],"log":[]},"0c520fa874e0214d22e41463493a64ce":{"created":"2011-02-25T15:07:51.549Z","modified":"2011-02-25T15:25:32.825Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +archive for tickets","id":"0c520fa874e0214d22e41463493a64ce","comments":[],"log":[]},"b90ea6db72184a5da1b5ba687ed1dfdc":{"created":"2011-02-25T15:08:11.777Z","modified":"2011-02-25T15:16:11.970Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@fixed Not print Tickets 0/0 if tracker is empty +log","id":"b90ea6db72184a5da1b5ba687ed1dfdc","comments":[],"log":[]},"a2ed65e5c06cd611d8077b92982243ac":{"created":"2011-02-25T15:08:30.760Z","modified":"2011-02-25T17:01:39.254Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Create Readme.md","id":"a2ed65e5c06cd611d8077b92982243ac","comments":[],"log":[]},"220dd79504b4383bd6d10e28835c35fc":{"created":"2011-02-25T15:08:49.346Z","modified":"2011-02-25T15:08:49.346Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +export to html","id":"220dd79504b4383bd6d10e28835c35fc","comments":[],"log":[]},"d9b76b4839b0662f7a242ddef9c1bbec":{"created":"2011-02-25T15:08:52.547Z","modified":"2011-02-25T15:08:52.547Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +export to org","id":"d9b76b4839b0662f7a242ddef9c1bbec","comments":[],"log":[]},"9f7a1ccc1109ca37eff095e3151ed2c9":{"created":"2011-02-25T15:08:55.269Z","modified":"2011-02-25T15:08:55.269Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +export to txt","id":"9f7a1ccc1109ca37eff095e3151ed2c9","comments":[],"log":[]},"bc7815df8b4b45efa9322e295b318ebb":{"created":"2011-02-25T15:09:13.697Z","modified":"2011-02-25T20:52:17.558Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@fixed Update +usage message","id":"bc7815df8b4b45efa9322e295b318ebb","comments":[],"log":[]},"27a6d71d43dbb23ad2fa5364e4c3840b":{"created":"2011-02-25T15:09:33.164Z","modified":"2011-02-25T15:09:33.164Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +sort tickets by last update","id":"27a6d71d43dbb23ad2fa5364e4c3840b","comments":[],"log":[]},"9187b880f1c5d3ab360ac14d172dc53c":{"created":"2011-02-25T15:09:52.281Z","modified":"2011-02-25T17:33:05.543Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Add multiline ticket text support","id":"9187b880f1c5d3ab360ac14d172dc53c","comments":[],"log":[]},"4b5f656f7c3a032fe58c3a61c1dffae3":{"created":"2011-02-25T15:10:12.936Z","modified":"2011-02-25T15:10:12.936Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo Change states for tracker by command line","id":"4b5f656f7c3a032fe58c3a61c1dffae3","comments":[],"log":[]},"89fbbaf51696e0c72466e7b9d4b8a77e":{"created":"2011-02-25T15:11:37.646Z","modified":"2011-02-25T15:11:37.646Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"+feature Use short references for last modified tickets (^0 - ^9)","id":"89fbbaf51696e0c72466e7b9d4b8a77e","comments":[],"log":[]},"50ac7af0b6112bba4c30f8a1f76f7af9":{"created":"2011-02-25T15:14:17.692Z","modified":"2011-02-25T15:24:56.777Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Add config variable for +show / +hide finished tasks/closed tickets","id":"50ac7af0b6112bba4c30f8a1f76f7af9","comments":[],"log":[]},"104cb6fa2891f2d5f426ee9ebd803b7d":{"created":"2011-02-25T15:15:04.559Z","modified":"2011-02-25T17:47:48.929Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Add config var to +show / +hide tickets after adding","id":"104cb6fa2891f2d5f426ee9ebd803b7d","comments":[{"date":"2011-02-25T17:47:32.623Z","author":{"user":"selead","email":"allselead@gmail.com"},"comment":"Add verbose flag to config.\nAfter entering this comment I must see update message.\n","id":"782ad5729707f0d746eec683528845a6"}],"log":[]},"163d02f36f8670d654b94dff04ae33b2":{"created":"2011-02-25T15:15:51.746Z","modified":"2011-02-25T15:15:51.746Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo Write simple tutorial","id":"163d02f36f8670d654b94dff04ae33b2","comments":[],"log":[]},"648895f7a4c3b90a3c8ca76ff9de9eb4":{"created":"2011-02-25T15:26:33.641Z","modified":"2011-02-25T15:32:37.857Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Don't call exception, when user specify not unique id","id":"648895f7a4c3b90a3c8ca76ff9de9eb4","comments":[],"log":[]},"c5064007f1036d312f818ddf9c4e5f82":{"created":"2011-02-25T15:28:12.012Z","modified":"2011-02-25T15:32:43.451Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Don't call exception, when ticket not found","id":"c5064007f1036d312f818ddf9c4e5f82","comments":[],"log":[]},"2a93f699efa2d69402d2b478194a085b":{"created":"2011-02-25T15:28:46.208Z","modified":"2011-02-25T19:51:15.059Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo Use +less +pager for big output","id":"2a93f699efa2d69402d2b478194a085b","comments":[],"log":[]},"ae9809d2ad124b3f9bdacc851bf4c3b5":{"created":"2011-02-25T17:33:54.280Z","modified":"2011-02-25T17:37:55.241Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Add ability to write multiline +comments","id":"ae9809d2ad124b3f9bdacc851bf4c3b5","comments":[{"date":"2011-02-25T17:35:58.680Z","author":{"user":"selead","email":"allselead@gmail.com"},"comment":"Check for ability\nto write multiline comments\n","id":"03e6fe038941774b2689c94b0a04396e"}],"log":[]},"be35869536bad7976ab0c2e21aae4f5c":{"created":"2011-02-25T17:37:01.835Z","modified":"2011-02-25T18:08:14.064Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@fixed Make +info command work","id":"be35869536bad7976ab0c2e21aae4f5c","comments":[],"log":[]},"326a6e41cbf22188b1a500576f3bd59c":{"created":"2011-02-25T17:52:23.167Z","modified":"2011-02-25T17:52:23.167Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"+show doned tickets +feature","id":"326a6e41cbf22188b1a500576f3bd59c","comments":[],"log":[]},"21df0f1fbac4757f11c9d379be6543f1":{"created":"2011-02-25T19:57:19.030Z","modified":"2011-02-25T19:57:19.030Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo +touch utility +feature","id":"21df0f1fbac4757f11c9d379be6543f1","comments":[],"log":[]},"b1a4cf2b3b847a6a5544d0b829505bbc":{"created":"2011-02-25T20:01:51.062Z","modified":"2011-02-25T20:01:51.062Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo Ask before create new tracker file","id":"b1a4cf2b3b847a6a5544d0b829505bbc","comments":[],"log":[]},"2bdcbd44ce261346faa496a2387916ac":{"created":"2011-02-25T20:11:49.892Z","modified":"2011-02-25T20:53:23.514Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@done Create +help command","id":"2bdcbd44ce261346faa496a2387916ac","comments":[],"log":[]},"5518a97b11dd3ccce2f95b6b7ed31562":{"created":"2011-02-25T20:56:40.280Z","modified":"2011-02-25T20:56:40.280Z","author":{"user":"selead","email":"allselead@gmail.com"},"text":"@todo optimize .track.json for version control","id":"5518a97b11dd3ccce2f95b6b7ed31562","comments":[],"log":[]}},"states":{"initial":["todo","bug","accept"],"final":["done","fixed","closed"]}}
View
1 Readme.md
@@ -48,4 +48,5 @@ Remove task
## Getting help
strack help
+
strack help command
View
2 lib/strack.coffee
@@ -38,7 +38,7 @@ showHelp = ->
when "log"
console.log "strack log [pattern]\n\n Show tracker log\n If pattern is set, only tasks, that match this pattern will be displayed\n"
when "remove"
- console.log "strack remove id\n\n Remove ticket/task from tracker\n"
+ console.log "strack remove id [id2, id3...]\n\n Remove tickets/tasks from tracker\n"
when "state"
console.log "strack state id new-state\n\n Change state of ticket/task\n"
else

0 comments on commit 695bd05

Please sign in to comment.