petergtz / pegomock

Pegomock is a powerful, yet simple mocking framework for the Go programming language
Apache License 2.0
253 stars 28 forks source link

Add the ability to generate matchers in internal/matcher using pegomock cli #59

Closed neetle closed 6 years ago

neetle commented 6 years ago

I'm looking to generate some matchers in an "internal" folder at the current directory level so they don't clog up my autocomplete when I'm in other classes that don't need access to them. Is there any way I can get these files generated in internal/matcher instead?

petergtz commented 6 years ago

Hi @neetle, I guess we could introduce a new CLI option to override the default matcher folder. I'll see if I can add this in the coming days. If you need it faster, feel free to provide a Pull Request, I'll be happy to merge it.

Peter

petergtz commented 6 years ago

@neetle Does the latest commit satisfy your request?

neetle commented 6 years ago

Perfect. Thanks!