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

Add a the ability to search upward for a Unity project #233

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mister-liss
Copy link

We have cases in our CI in which it is important to know if a file is part of a Unity project and to recover the project path if it is.

[switch] $Recurse,

[parameter(Mandatory = $false, ParameterSetName = "RecurseUp")]
[switch] $RecurseUp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something about RecurseUp hurts me. Maybe IncludeParent\s??

[switch] $Recurse
[switch] $Recurse,

[parameter(Mandatory = $false, ParameterSetName = "RecurseUp")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could include this behavior without restricting the others. Is there a strong reason to use the parameter set name?

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

Successfully merging this pull request may close these issues.

2 participants