ot::Cli::Interpreter::SetUserCommands() method
Adds commands to the user command table.
Arguments
aCommands
A pointer to an array with user commands.
aLength
@p aUserCommands length.
aContext
@p aUserCommands length.
Return value
OT_ERROR_NONE Successfully updated command table with commands from @p aCommands. OT_ERROR_FAILED No available UserCommandsEntry to register requested user commands.