Executes the named command and passes the specified argument.
Parameters
-
cmd
-
Type: string
The name of the command.
-
arg
-
Type: object
An optional argument that provides relevant context. Typically, this parameter is not required.
Return Value
Text that indicates whether the command succeeded, and if it failed, the reason.