todoman icon indicating copy to clipboard operation
todoman copied to clipboard

Ability to change all fields of a task from cli

Open varac opened this issue 8 years ago • 7 comments

Currently, todo edit cli parameters are limited to some fields only. It would be great to be able to i.e. change the priority like this:

    todo edit --priotity low 'Pay taxes'

varac avatar Apr 24 '17 09:04 varac

"all" fields is too vague. Potentially there are an infinite number of proprietary extensions which could be supported. Priority is already handled by #239, new and edit share a lot of code.

untitaker avatar Apr 24 '17 09:04 untitaker

@untitaker: What I meant was implementing the the remaining fields that can be edited from the interactive mode as cli parameters.

These fields are already implemented in the edit command:

--- ~ » todo edit --help

Usage: todo edit [OPTIONS] ID

  Edit the task with id ID.

Options:
  -s, --start TEXT   When the task starts.
  -d, --due TEXT     The due date of the task, in the format specified in the
                     configuration file.
  --location TEXT    The location where this todo takes place.
...

So only those are missing:

  • Description
  • List
  • Priority

Sounds better ?

varac avatar Apr 24 '17 11:04 varac

Ok, yeah.

untitaker avatar Apr 24 '17 13:04 untitaker

I'm adding this to track fields we'll support:

  • [ ] description
  • [x] list
  • [x] priority

WhyNotHugo avatar Apr 24 '17 16:04 WhyNotHugo

@hobarrera in this issue please check for priority, now it is working for priority. when I solved #242 issue I think this issue is also solved for priority.

AnubhaAgrawal avatar May 05 '17 14:05 AnubhaAgrawal

Thanks for pointing this out! ^_^

WhyNotHugo avatar May 05 '17 15:05 WhyNotHugo

I want to solve this issue for description.

AnubhaAgrawal avatar Jun 17 '17 03:06 AnubhaAgrawal