Add operators parents-of and children-of to 'dep add'
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.
Showing
Please register or sign in to comment