code: def get_cli_args():
      """Create CLI parser and return parsed arguments"""
      parser = argparse.ArgumentParser()
  
      parser.add_argument("--num-cpus", type=int, default=0)
      parser.add_argument(
          "--framework",
          choices=["tf", "tf2", "torch"],
          default="torch",
          help="The DL framework specifier.",
      )
      parser.add_argument(
          "--stop-iters",
          type=int,
          default=10,
          help="Number of iterations to train.",
      )
      parser.add_argument(
          "--local-mode",
          action="store_true",
          help="Init Ray in local mode for easier debugging.",
      )
  
      args = parser.parse_args()
      print(f"Running with following CLI args: {args}")
      return args
  
file_path: ray/rllib/examples/action_masking.py
imports: import argparse
  import os
  from gymnasium.spaces import Box, Discrete
  import ray
  from ray.rllib.algorithms import ppo
  from ray.rllib.examples.env.action_mask_env import ActionMaskEnv
  from ray.rllib.examples.rl_module.action_masking_rlm import TorchActionMaskRLM, TFActionMaskRLM
  from ray.rllib.core.rl_module.rl_module import SingleAgentRLModuleSpec
  from ray.tune.logger import pretty_print
label_desc: Use image node_id 1 for calling a global function with example usage: get_cli_args() and returns: args