Refines the raw command object to a command object if a command should run, if it should not return, an error object may be returned instead.
Refines the raw command object to a command object if a command should run, if it should not return, an error object may be returned instead.
The raw command object.
An object used to refine RawCmd into Cmd, or return errors instead.