Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to specify multiple relativeTo values (e.g. an Array of directories to look under) #42

Open
niftylettuce opened this issue Jul 31, 2018 · 4 comments

Comments

@niftylettuce
Copy link
Contributor

It would be great to permit multiple relativeTo values, such that it would search across all directories for the first match found. If multiple found then it could give a warning on command line perhaps.

@niftylettuce
Copy link
Contributor Author

Related forwardemail/email-templates#312

@jrit
Copy link
Owner

jrit commented Aug 2, 2018

I guess that or add some sort of grep option that'll search recursively through everything under some root. I would accept a PR with some form of this as long as it is not a breaking change.

@niftylettuce
Copy link
Contributor Author

@jrit how would you like it to work? sequential searching in order as passed in the array? what if multiple exist, which one gets chosen?

@jrit
Copy link
Owner

jrit commented Aug 9, 2018

The thing about the multiple matches is that is a fundamental problem with this kind of functionality, so as long as you decide and document how it works, it really makes no difference to me. I've never needed and don't expect to ever need this, so you are the subject matter expert here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants