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

Get-InvokeCommandList #22

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Get-InvokeCommandList #22

merged 1 commit into from
Dec 18, 2023

Conversation

rulasg
Copy link
Owner

@rulasg rulasg commented Dec 18, 2023

Function to list the actual command list

@rulasg rulasg merged commit 9e9dbe7 into main Dec 18, 2023
2 checks passed
@rulasg rulasg deleted the Get-InvokeCommandList branch December 18, 2023 15:20
@@ -18,6 +18,18 @@
}
} Export-ModuleMember -Function Set-InvokeCommandAlias

function Get-InvokeCommandAlias{

Check notice

Code scanning / PSScriptAnalyzer

The cmdlet 'Get-InvokeCommandAlias' does not have a help comment. Note

The cmdlet 'Get-InvokeCommandAlias' does not have a help comment.
@@ -18,6 +18,18 @@
}
} Export-ModuleMember -Function Set-InvokeCommandAlias

function Get-InvokeCommandAlias{
[CmdletBinding(SupportsShouldProcess)]

Check warning

Code scanning / PSScriptAnalyzer

'Get-InvokeCommandAlias' has the ShouldProcess attribute but does not call ShouldProcess/ShouldContinue. Warning

'Get-InvokeCommandAlias' has the ShouldProcess attribute but does not call ShouldProcess/ShouldContinue.
if($script:InvokeCommandList -eq $null -or $script:InvokeCommandList.Count -eq 0){
return $null
} else {
return $script:InvokeCommandList

Check notice

Code scanning / PSScriptAnalyzer

The cmdlet 'Get-InvokeCommandAlias' returns an object of type 'System.Collections.Hashtable' but this type is not declared in the OutputType attribute. Note

The cmdlet 'Get-InvokeCommandAlias' returns an object of type 'System.Collections.Hashtable' but this type is not declared in the OutputType attribute.
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.

1 participant