Sets the JSON response API "exitCode" property. Desired exit code for the command process
the desired exit code
the code you've set
Sets the JSON response API "message" property. Can optionally be logged. The intent is to provide a short summary on the response JSON object (for display and other purposes).
The JSON response object for a command contains a property that is intended to contain any custom object(s)/data that the command wants to return to the caller.
The object to set in the JSON response.
If true, will merge the object with the existing data already set.
Generated using TypeDoc
APIs for the command handlers to construct the JSON response object for the command. The JSON response object is built/written when the "response format JSON" flag is set. The intention is to allow for structured information/data to be provided to the caller (who is requesting the JSON format of the command output) for programmatic usage of Imperative commands.
IHandlerResponseDataApi