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

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

Open
delrio1110 opened this issue Sep 11, 2018 · 4 comments
Labels
enhancement pinned Prevent closing if stale

Comments

@delrio1110
Copy link

No description provided.

@devblackops
Copy link
Member

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
Copy link
Member

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

@RamblingCookieMonster
Copy link
Contributor

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
Copy link

stale bot commented Aug 23, 2019

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.

@stale stale bot added the wontfix label Aug 23, 2019
@devblackops devblackops added enhancement pinned Prevent closing if stale and removed wontfix labels Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement pinned Prevent closing if stale
Projects
None yet
Development

No branches or pull requests

3 participants