Add command_output() method