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

def yagtd::GTD::do_extend (   self,
  id_desc 
)
Add more text (description) to task:
GTD> extend #id Additional description.

Definition at line 499 of file yagtd.py.

                                :
        """Add more text (description) to task:
        GTD> extend #id Additional description."""

        # Parse command line
        idx, desc = self._parse_args(id_desc)

        if idx and desc:
            task = self.todo.find('id', idx) 
            if task: 
                task['title'] += " " + desc  # TODO: allow to attach additional notes
                print "Task #%d extended" % idx


Generated by  Doxygen 1.6.0   Back to index