unregister_all_commands() function
Unregisters all commands from the specified context.
Arguments
cmd_ctx
The context that will be cleared of registered commands.
cmd_prefix
If given, only clear commands from under this one command.
Return value
ERROR_OK on success, or an error code.