rchore icon indicating copy to clipboard operation
rchore copied to clipboard

Auto-fallback to list options if argument not provided

Open DarthBenro008 opened this issue 4 years ago • 0 comments

Right now you need to provide an positional argument to rchore tasks done <pos> or rchore tasks delete <pos>. It would be really nice if you could fall back to a list option presented to the user when the position is not passed, something like what already rchore task-list update or rchore task-list delete does.

Sample: image

Relevant Codebase: https://github.com/DarthBenro008/rchore/blob/2561389ceed92cfbddc727eadf04586c3d62e87d/src/handlers/task_handler.rs#L109-L127

https://github.com/DarthBenro008/rchore/blob/2561389ceed92cfbddc727eadf04586c3d62e87d/src/handlers/task_handler.rs#L74-L95

DarthBenro008 avatar Aug 03 '21 15:08 DarthBenro008