code: def get_completion_args(self, is_completion=False, comp_line=None):  # pylint: disable=no-self-use
          
          is_completion = is_completion or os.environ.get(ARGCOMPLETE_ENV_NAME)
          comp_line = comp_line or os.environ.get('COMP_LINE')
          # The first item is the exe name so ignore that.
          return comp_line.split()[1:] if is_completion and comp_line else None
docs: Get the args that will be used to tab completion if completion is active.