Bowler icon indicating copy to clipboard operation
Bowler copied to clipboard

More specific selectors

Open orsinium opened this issue 5 years ago • 2 comments

Now selectors captures everything related to the given topic. For example, select_module captures module_name, module_nickname etc. Sometimes it's useful to be more specific. For example:

...select_module('test', capture=['module_name'])

orsinium avatar Jun 26 '19 17:06 orsinium

Are you just suggesting prune the captures dict? Could you give an example of where this is helpful?

thatch avatar Jul 03 '19 03:07 thatch

Yes. For example, when I want to get rid of "as" import. I can write my own selector, but it would be great to be able to reuse existent selectors from Bowler when possible.

orsinium avatar Jul 03 '19 07:07 orsinium