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

def yagtd::GTD::do_replace (   self,
  id_line 
)
Replace the entire task by a new one:
GTD> replace #id My new task. @computer p:Project

Definition at line 486 of file yagtd.py.

                                 :
        """Replace the entire task by a new one:
        GTD> replace #id My new task. @computer p:Project"""

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

        if idx and line:
            self._replace(idx, line)
            print "Task #%d replaced" % idx


Generated by  Doxygen 1.6.0   Back to index