lucasdavila86 / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Contacts: Allow better filtering #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It looks like the you can look up contacts only using the '--title' qualifier 
which seem to search the name of the contacts. This query seems to be half 
baked anyway, it is case sensitive and searches only at the beginning of the 
field.

Examples:

google contacts list --title Markus
-> I get all contacts with the first name 'Markus'

google contacts list --title markus
-> I get no result

google contacts list --title Baertschi
-> I get no results, there are a bunch of Baertschi in my contacts

I would like to search in all fields, limit the search to some fields and 
search for people in certain groups too.

Proposals:
- Global search --search "search words"
  -> return contacts there the search words figure anywhere in the record
  -> allow for field qualifiers: 'name:markus' searches only the name field

- Group limits --group "group"
  -> limits the search to the indicated group
  -> Examples: google contacts list --group "Business"
               google contacts delete --group "Business"

Markus

Original issue reported on code.google.com by markus.b...@gmail.com on 20 Jun 2010 at 5:16

GoogleCodeExporter commented 9 years ago
Issue 107 has been merged into this issue.

Original comment by tom.h.mi...@gmail.com on 20 Jun 2010 at 6:37

GoogleCodeExporter commented 9 years ago
Don’t know if you know regex.

Try 

    google contacts list --title "(?i).*baertschi"

Sure, that’s clumsy, but it works.

Original comment by towolf on 21 Jun 2010 at 12:50

GoogleCodeExporter commented 9 years ago

Original comment by tom.h.mi...@gmail.com on 31 Aug 2010 at 12:41