Skip to content

Set-SeUrl Back / Forward optional -depth parameter #124

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

Closed
itfranck opened this issue Aug 23, 2020 · 0 comments
Closed

Set-SeUrl Back / Forward optional -depth parameter #124

itfranck opened this issue Aug 23, 2020 · 0 comments
Assignees
Milestone

Comments

@itfranck
Copy link
Collaborator

I was looking at the combined tests and saw...

Set-SeUrl -Back
Set-SeUrl -Back
Set-SeUrl -Back

Granted you could do 1..3 | % {Set-SeUrl -Back} but it seems a convenience to have an optional -depth parameter for Back / Forward parameter sets to enable the following

Set-SeUrl -Back -Depth 3

 [Parameter(ParameterSetName = 'back')]
        [Parameter(ParameterSetName = 'forward',Position=1)]
        [ValidateScript( { $_ -ge 1 })] 
        [Int]$Depth = 1,
@itfranck itfranck added this to the V4.0 milestone Aug 23, 2020
@itfranck itfranck self-assigned this Aug 23, 2020
itfranck added a commit that referenced this issue Aug 23, 2020
itfranck added a commit that referenced this issue Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant