Interface for the internal command processor response object, hides the fields that are required to fully build the response from the handlers.
Returns the response format that the object was constructed with - indicates how the output should be handled if response format is JSON, then data is buffered until the end and output at that time.
If true, indicates that silent mode is enabled (no output whatsoever is produced by the response object)
Returns the formed JSON response from the command.
End any outstanding progress bars.
Sets the command success property to false, indicating that the command has failed. Command failure is indicated by the handler rejecting its promise.
If the command is rejected, this will automatically be populated with all the error details from the Imperative Error object.
Sets the command success property to true, indicating that the command has succeeded. Command success is indicated by the handler fulfilling its promise.
Writes the command response object to the console. Always written to stdout.
Generated using TypeDoc