code: def fill_from_cmdline_api(orion_script, version):
      """Add experiments and trials using the commandline API"""
      # TODO(v0.3.0): Adapt when removing init_only after deprecation phase
      print(
          execute(
              " ".join(
                  [
                      orion_script,
                      "-vv",
                      "init_only",
                      "--name",
                      "init-cmdline",
                      "--config",
                      CONFIG_FILE,
                      SCRIPT_PATH,
                      "-x~uniform(-50,50)",
                  ]
              )
          )
      )
  
      # TODO(v0.3.0): Adapt when removing init_only after deprecation phase
      print(
          execute(
              " ".join(
                  [
                      orion_script,
                      "-vv",
                      "init_only",
                      "--name",
                      "init-cmdline",
                      get_evc_argument(version),
                      get_branch_argument(version),
                      "init-cmdline-branch-old",
                      "--config",
                      CONFIG_FILE,
                  ]
              )
          )
      )
  
      print(
          execute(
              " ".join(
                  [
                      orion_script,
                      "-vv",
                      "hunt",
                      "--name",
                      "hunt-cmdline",
                      "--config",
                      CONFIG_FILE,
                      SCRIPT_PATH,
                      "-x~uniform(-50,50)",
                  ]
              )
          )
      )
  
      print(
          execute(
              " ".join(
                  [
                      orion_script,
                      "-vv",
                      "hunt",
                      "--name",
                      "hunt-cmdline",
                      get_evc_argument(version),
                      get_branch_argument(version),
                      "hunt-cmdline-branch-old",
                      "--config",
                      CONFIG_FILE,
                  ]
              )
          )
      )
  
imports: import os
  import shutil
  import subprocess
  import pytest
  from pymongo import MongoClient
  import orion.core.cli
  import orion.core.io.experiment_builder
  from orion.client import create_experiment
  from orion.core.io.database import database_factory
  from orion.storage.base import storage_factory
label_desc: Use image node_id 11 for calling a global function with example usage: fill_from_cmdline_api(orion_script, version) without return types