class_docstr: Shell completion for Zsh.
class_docstr_tok: ["Shell","completion","for","Zsh","."]
code: def get_completion_args(self) -> t.Tuple[t.List[str], str]:
      cwords = split_arg_string(os.environ["COMP_WORDS"])
      cword = int(os.environ["COMP_CWORD"])
      args = cwords[1:cword]
  
      try:
          incomplete = cwords[cword]
      except IndexError:
          incomplete = ""
  
      return args, incomplete
  
imports: import os
  import re
  import typing
  from gettext import gettext
  from .core import Argument
  from .core import BaseCommand
  from .core import Context
  from .core import MultiCommand
  from .core import Option
  from .core import Parameter
  from .core import ParameterSource
  from .parser import split_arg_string
  from .utils import echo
label_desc: Use image node_id 1 for calling the ZshComplete obj's underlying member method code with example usage: obj.get_completion_args() and returns: args,  incomplete