code: def get_cli_args():
      """Create CLI parser and return parsed arguments"""
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--run-as-test", action="store_true", default=False
      )
      args = parser.parse_args()
      print(f"Running with following CLI args: {args}")
      return args
  
file_path: ray/rllib_contrib/r2d2/examples/r2d2_stateless_cartpole.py
imports: import argparse
  from rllib_r2d2.r2d2.r2d2 import R2D2, R2D2Config
  import ray
  from ray import air, tune
  from ray.rllib.examples.env.stateless_cartpole import StatelessCartPole
  from ray.rllib.utils.test_utils import check_learning_achieved
  from ray.tune.registry import register_env
label_desc: Use image node_id 1 for calling a global function with example usage: get_cli_args() and returns: args