jrupac / tasky

A command-line desktop client for Google Tasks.
GNU General Public License v3.0
114 stars 33 forks source link

Enhancement: use --tasklist option with -l/--list #17

Closed apj68 closed 9 years ago

apj68 commented 9 years ago

Thanks for this tool! I just discovered it after just discovering that google commandline does not support tasks.

As an enhancement, it would be nice to list only a subset of lists, e.g.:

List categories/lists (current option):

    tasky --list --summary

Which would give the index numbers so that one could then list just the category/list we're interested in:

    tasky --list --tasklist 14

From my perspective, it would also make sense to change the context of summary when the tasklist option is used in this fashion. In the case above, using --summary with the two other options, e.g.:

    tasky --list --tasklist --14 --summary

would show just the task titles without the note and due date.

jrupac commented 9 years ago

Hmm, I think this makes a lot of sense. I'll have to change the code around a little bit, since currently the "--list" flag is implicit in the sense that all task lists are printed either before accepting operations (interactive case) or after performing the action (non-interactive case). But I think this is doable.

apj68 commented 9 years ago

Yay, works great! Thank you!

On Wed, Nov 12, 2014 at 8:11 PM, Ajay Roopakalu notifications@github.com wrote:

Hmm, I think this makes a lot of sense. I'll have to change the code around a little bit, since currently the "--list" flag is implicit in the sense that all task lists are printed either before accepting operations (interactive case) or after performing the action (non-interactive case). But I think this is doable.

— Reply to this email directly or view it on GitHub https://github.com/jrupac/tasky/issues/17#issuecomment-62839295.