• Bram Schoenmakers's avatar
    Add operators parents-of and children-of to 'dep add' · 4ed21654
    Bram Schoenmakers authored
    These operators copy the parents of one todo item to another:
    
        dep add 1 parents-of 2
    
    This will add the parents of item 2 to item 1.
    
    Likewise, a children-of operator adds the children of item 2 to item 1.
    
    Along the way, the _get_todos() method was refactored to simplify things
    a bit.
    4ed21654
DepCommand.py 5.78 KB