code: def handle_raw_output(ctx, data):
      
      if ctx.obj['format'] == 'json':
          print(json_dump(data))
          exit(0)
      if ctx.obj['format'] == 'yaml':
          print(yaml_dump(data), end='')
          exit(0)
docs: If a raw output format is set, dump data and exit