code: def __get_current_command(args_, groups, commands):
      current_command = ""
      for arg in args_:
          prefix = (
              (current_command + PatchFire._commands_sep)
              if len(current_command) > 0
              else ""
          )
          potential_current_command = prefix + arg
          if potential_current_command not in groups:
              if potential_current_command in commands:
                  return potential_current_command
              else:
                  return None
          current_command = potential_current_command
      return None
  
imports: import inspect
  from .frameworks import _patched_call
  from ..config import get_remote_task_id, running_remotely
  from ..utilities.dicts import cast_str_to_bool
label_desc: Use image node_id 8 for calling the PatchFire obj's underlying member method code with example usage: obj.__get_current_command(args_, groups, commands) and returns: None, potential_current_command, None