New BotKube command to list the supported kubectl cmds #312
Labels
enhancement
New feature or request
good first issue
Good for newcomers
release-blocker
Upcoming release is blocked by this issue
Is your feature request related to a problem? Please describe.
Now that we have support to configure allowed kubectl commands, the list of commands documented in
/botkubehelp
are misleading. There should be a way to let user know what kind of commands are supported.Describe the solution you'd like
Add new BotKube command - e.g
@BotKube commands list
to list down all the supported commands.If settings.kubectl.restrictAccess is not set, the command should be executable from outside channel too.
Additional context
We should be using cobra framework to consolidate all BotKube commands. But can be treated as a different task
The text was updated successfully, but these errors were encountered: