Logo Search packages:      
Sourcecode: yagtd version File versions  Download package

def yagtd::GTD::do_del (   self,
  id 
)
Delete given task:
GTD> del #id

Definition at line 411 of file yagtd.py.

                        :
        """Delete given task:
        GTD> del #id"""

        # Parse command line
        idx = self._parse_args(id)[0]

        if idx:
            self.todo.supp(idx)
            print "Task #%d deleted" % idx


Generated by  Doxygen 1.6.0   Back to index