jrupac / tasky

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

filter by list name #38

Closed nickylimjj closed 5 years ago

nickylimjj commented 5 years ago

It current returns all the lists. Can i indicate which list i want?

jrupac commented 5 years ago

You can specify the tasklist to print by the --tasklist flag, whose value is the printed numeral to the left of the name (you can have multiple task lists of the same name so this is a unique way of specifying it).

E.g.:

$ ./tasky.py -l
Printing all task lists...
0 Personal (empty)
1 Grocery List
  0 [ ] task4
  1 [ ] Pay my phone bill
    2 [ ] test3
2 Néw list (empty)
3 Goliath
  0 [ ] asdf
4 Goliath
  0 [ ] aa

$ ./tasky.py -l --tasklist 3
Printing Task List 3...
3 Goliath
  0 [ ] asdf