def exec_gcloud_output()

in solutions_builder/cli/cli_utils.py [0:0]


def exec_gcloud_output(command, working_dir=".", hide_error=False):
  output = ""
  try:
    output = exec_output(command)
  except Exception as e:
    print(f"Error: {e}")
    output = ""

  output = output.strip()
  return output