caioariede / pyq

A CLI tool to search for Python code in a path using jQuery-like selectors.
MIT License
127 stars 3 forks source link

Allow to search using dotted notation #1

Open sametmax opened 8 years ago

sametmax commented 8 years ago

Fantastic idea.

Search using the file path is useful, but being able to search by module would be great.

Something like:

pyq3 def[name=get] -m requests 
pyq3 class[name=User] -m django.contrib.auth.models
pyq3 #foo -m * # search in all importable modules
caioariede commented 8 years ago

This seems to be a good idea. Thanks!