code: def run_cli_cmd(cli_profile, api, args):
      cmd = ["databricks", "--profile", cli_profile, api] + args
      res = subprocess.run(cmd, capture_output=True)
      if res.returncode != 0:
          raise ValueError(res)
      return res.stdout
  
file_path: glow/docs/dev/run-nb-test.py
imports: import click
  from datetime import datetime
  import glob
  import json
  import os
  import subprocess
  import sys
  import time
  import uuid
label_desc: Use image node_id 1 for calling a global function with example usage: run_cli_cmd(cli_profile, api, args) and returns: res