parameters: (cmds, plugins, config, argv)
return_statement: return plugin_class(settings, config).__autocomplete_base__(
          current_word,
          argv[1:])
docstring: Perform autocomplete for the given input arguments. If not
      completing a top level command (or "help"), this function passes
      the arguments down to the appropriate plugins for per-plugin
      autocompletion.
docstring_summary: Perform autocomplete for the given input arguments. If not
      completing a top level command (or "help"), this function passes
      the arguments down to the appropriate plugins for per-plugin
      autocompletion.
docstring_tokens: Perform autocomplete for the given input arguments . If not completing a top level command ( or help ) this function passes the arguments down to the appropriate plugins for per - plugin autocompletion .
function: def autocomplete(cmds, plugins, config, argv):
      """
      Perform autocomplete for the given input arguments. If not
      completing a top level command (or "help"), this function passes
      the arguments down to the appropriate plugins for per-plugin
      autocompletion.
      """
  
      option = "default"
      current_word = argv[0]
      argv = argv[1:]
  
      if argv and argv[0] == "help":
          argv = argv[1:]
  
      comp_words = list(cmds.keys()) + ["help"]
      comp_words = cli.util.completions(comp_words, current_word, argv)
      if comp_words is not None:
          return (option, comp_words)
  
      plugin = cli.util.get_module(plugins, argv[0])
      plugin_class = getattr(plugin, plugin.PLUGIN_CLASS)
  
      return plugin_class(settings, config).__autocomplete_base__(
          current_word,
          argv[1:])
function_tokens: def autocomplete ( cmds , plugins , config , argv ) : option = "default" current_word = argv [ 0 ] argv = argv [ 1 : ] if argv and argv [ 0 ] == "help" : argv = argv [ 1 : ] comp_words = list ( cmds . keys ( ) ) + [ "help" ] comp_words = cli . util . completions ( comp_words , current_word , argv ) if comp_words is not None : return ( option , comp_words ) plugin = cli . util . get_module ( plugins , argv [ 0 ] ) plugin_class = getattr ( plugin , plugin . PLUGIN_CLASS ) return plugin_class ( settings , config ) . __autocomplete_base__ ( current_word , argv [ 1 : ] )