poshbotio / PoshBot

Powershell-based bot framework
MIT License
537 stars 108 forks source link

Is it possible to only show the commands you have access to when running help. #107

Open delrio1110 opened 6 years ago

devblackops commented 6 years ago

With help no, but I added a new built in command with v0.11.0 called Get-MyCommands with an alias of mycommands that will only show commands you’re authorized to run.

devblackops commented 6 years ago

But maybe that could become a configurable setting for those that want to restrict Get-CommandHelp to only the commands allowed.

RamblingCookieMonster commented 5 years ago

I could see something like PowerShell where you have a Get-Command esque function and a Get-Help esque function? A switch on Get-CommandHelp like you mentioned might also be handy.

I'd love to see this. Would be helpful to narrow down the output. I could potentially see something for filtering out built in commands (much less important, not sure if it makes sense) - guessing we might not be the only org like this, but I'm pretty much the only one working with built in commands (and rarely at that)

Cheers!

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.